#ifndef  SCI_CLASS_ERRORCODE
#define  SCI_CLASS_ERRORCODE

//SciGenICam
#define  SCI_OK										0		//Success.					成功	
#define  SCI_ERR_INCORRECT_INIT_OBJECT				101001	//Incorrect initialization object	初始化对象不正确
#define  SCI_ERR_CAMERA_NOT_FOUND					101002	//Cannot to find Camera		找不到相机
#define  SCI_ERR_CAMERA_OFFLINE						101006	//Camera is offline			相机处于脱机状态
#define  SCI_ERR_CAMERA_CREATE_FAILED				101007	//Failed to create camera	创建相机失败
#define  SCI_ERR_CAMERA_OPEN_FAILED					101008	//Failed to open camera		打开相机失败
#define  SCI_ERR_CAMERA_NOT_SUPPORT					101009	//Camera does not support	不支持相机
#define  SCI_ERR_CAMERA_NOT_OPEN					101010	//Camera isn't open			相机未开启
#define  SCI_ERR_CAMERA_NOT_GRABBING				101011	//Camera isn't grabbing		相机未采集
#define  SCI_ERR_CAMERA_GRABBING					101012	//Camera is grabbing		相机正在采集	
#define  SCI_ERR_CAMERA_ALLREADY_OPEN				101013	//Camera allready open		相机已开启
#define  SCI_ERR_CAMERA_GRAB_FAILED					101014	//Camera grab failed		相机采集失败
#define  SCI_ERR_CAMERA_START_GRAB_FAILED			101015	//Failed to start grab		开始采集失败
#define  SCI_ERR_CAMERA_GRAB_TIMEOUT				101022	//Grab image timeout		采集图像超时
#define  SCI_ERR_CAMERA_GRAB_EXCEPTION				101023	//Camera grab image exception	相机采集图像异常	
#define  SCI_ERR_CAMERA_EXCEPTION					101040	//Camera operation exception	相机操作异常
#define  SCI_ERR_CAMERA_SET_VALUE_FAILED			101041	//Failed to set parameter value	无法设置参数
#define  SCI_ERR_CAMERA_GET_VALUE_FAILED			101042	//Failed to Get parameter value	无法获取参数
#define  SCI_ERR_CAMERA_SEND_CMD_FAILED				101043	//Failed to send command		发生命令失败
#define  SCI_ERR_PARAM_INVALID						101050	//Parameter is invalid			参数无效
#define  SCI_ERR_MODULE_EMPTY						101060	//Module is empty				模板为空
#define  SCI_ERR_MODULE_FUNCTION_LOAD_FAILED		101061	//Failed to load module function	无法加载模块功能
#define  SCI_ERR_IMAGE_INVALID						101081	//Image data is invalid			图像数据无效
#define  SCI_ERR_IMAGE_CREATE_FAILED				101082	//Failed to create image file	无法创建文件图像
#define  SCI_ERR_IMAGE_TYPE_NOT_SUPPORT				101083	//Image type does not support	不支持图像类型
#define  SCI_ERR_NODE_NAME_INVALID                  101091  //Node name is invalid          节点名称无效
#define  SCI_ERR_NODE_MAP_INVALID                   101092  //Node map is invalid           节点映射无效
#define  SCI_ERR_NODE_TYPE_INVALID                  101093  //Node type is invalid          节点类型无效
#define  SCI_ERR_NODE_READ_FORBIDDEN				101094	//Node is forbidden to read		节点禁止读取
#define  SCI_ERR_NODE_WRITE_FORBIDDEN				101095	//Node is forbidden to write	节点禁止写入
#define  SCI_ERR_NODE_TYPE_UNMATCH					101096	//Node type is unmatched		节点类型不匹配

//Camera  
#define  SCI_ERR_CAMERA_NOT_FOUND                  			1050001          	 //Cannot to find Camera   找不到相机
#define  SCI_ERR_CAMERA_ADD_FAILED                 			1050002          	 //Failed to add Controller to the Filer Manager  无法将相机添加到文件管理器
#define  SCI_ERR_CAMERA_OCCUPANCY                  			1050003          	 //Occupied by another device camera    资源被另一台相机占用
#define  SCI_ERR_CAMERA_LOAD_FAILED                			1050004          	 //Failed to load DLL     无法加载动态库
#define  SCI_ERR_CAMERA_FIND_FAILED                			1050005          	 //Failed to open the device   打开相机失败
#define  SCI_ERR_CAMERA_JOIN_FAILED                			1050006          	 //Failed to connect stream    无法链接到流
#define  SCI_ERR_CAMERA_NOT_OPEN                   			1050007          	 //Device isn't open     相机未开启
#define  SCI_ERR_CAMERA_CREATE_FAILED             	 		1050008          	 //Failed to create file  创建文件失败
#define  SCI_ERR_CAMERA_GETDATA_FAILED             			1050009          	 //Get buffered data failed  获取缓冲区数据失败
#define  SCI_ERR_CAMERA_NOT_SUPPORT                			1050010          	 //Interface does not support   相机不支持当前接口类型
#define  SCI_ERR_CAMERA_UNKNOWN                    			1050011          	 //Undefined Error      未定义错误
#define  SCI_ERR_CAMERA_SEND_CMD_FAILED                   	1050012				 //Failed to send command   发送命令失败
#define  SCI_ERR_CAMERA_WRONG_ACK                         	1050013				 //Get ACK failed,maybe result of wrong IP   获取ACK失败，可能是IP错误
#define  SCI_ERR_CAMERA_CONFIG_IP_FAILED                  	1050014				 //Failed to configure IP   配置IP失败
#define  SCI_ERR_CAMERA_CAMERA_NETWORK                    	1050015				 //Auto configure IP failed,result of camera and network error  自动配置IP失败，可能是相机和网络错误
#define  SCI_ERR_CAMERA_OPEN_CCP_FAILED                   	1050016          	 //Failed to open CCP    打开CCP失败
#define  SCI_ERR_CAMERA_UNSURPPORT_PERSISTENT_IP          	1050017          	 //Unsupported Persistent IP    不支持固定IP
#define  SCI_ERR_CAMERA_SET_PERSISTENT_IP_MODE_FAILED     	1050018          	 //Failed to set persistent IP mode  设置固定IP模式失败
#define  SCI_ERR_CAMERA_CLOSE_CCP_FAILED                  	1050019          	 //Failed to close CCP   关闭CCP失败
#define  SCI_ERR_CAMERA_WRONG_DRIVE_TYPE                  	1050020          	 //Failed to open camera due to wrong drive type   驱动类型错误导致打开相机失败
#define  SCI_ERR_CAMERA_CLOSE_CAMERA_FAILED               	1050021          	 //Failed to close camera    关闭相机失败
#define  SCI_ERR_CAMERA_NODE_UNAVAILABLE                  	1050022          	 // the node is unavailable   当前节点不可用
#define  SCI_ERR_CAMERA_SET_VALUE_FAILED                  	1050023          	 //failed to set parameter value   设置参数值失败
#define  SCI_ERR_CAMERA_GET_VALUE_FAILED                  	1050024          	 //failed to Get parameter value   获取参数值失败											
#define  SCI_ERR_CAMERA_ENUM_DEVICES_FAILED               	1050025          	 //Failed to search Camera     查找相机失败
#define  SCI_ERR_CAMERA_ROMOVED                           	1050026          	 //The camera was removed   相机已移除
#define  SCI_ERR_CAMERA_NODE_NAME                         	1050027          	 //the name of node is wrong 节点名称错误
#define  SCI_ERR_CAMERA_NODE_TYPE                         	1050028         	 //the type of node is wrong   节点类型错误
#define  SCI_ERR_CAMERA_NODE_VALUE                        	1050029          	 //the value of node is wrong  节点值错误
#define  SCI_ERR_CAMERA_START_ACQ_FAILED                  	1050030           	 //Failed to start acquisition  启动采集失败
#define  SCI_ERR_CAMERA_STOP_ACQ_FAILED                   	1050031           	 //Failed to stop acquisition  停止采集失败
#define  SCI_ERR_CAMERA_ACQ_EXCEPTION                     	1050032          	 //Acquisition exception    采集异常
#define  SCI_ERR_CAMERA_ACQ_TIMEOUT                       	1050033           	 //Acquisition timeout      采集超时
#define  SCI_ERR_CAMERA_ACQ_FAILED                        	1050034           	 //Acquisition  failed        采集失败
#define  SCI_ERR_CAMERA_TRIGGER_WAIT_FAILED               	1050035           	 //wait for trigger failed   等待触发失败
#define  SCI_ERR_CAMERA_SOFTWARE_TRIGGER_FAILED           	1050036           	 //Failed to set software trigger  设置软触发失败
#define  SCI_ERR_CAMERA_IMAGE_DATA                        	1050037           	 //Image data is wrong    图像数据错误
#define  SCI_ERR_CAMERA_IMAGE_DATACONVERT_FAILED          	1050038           	 //Failed to convert to image  无法转换成图像
#define  SCI_ERR_CAMERA_IMAGE_FORMAT                      	1050039           	 //image format is wrong   图像格式错误
#define  SCI_ERR_CAMERA_EXCEPTION1                        	1050040          	 //Camera acquisition exception 1   相机采集异常1
#define  SCI_ERR_CAMERA_EXCEPTION2                        	1050041          	 //Camera acquisition exception 2	相机采集异常2
#define  SCI_ERR_CAMERA_EXCEPTION3                        	1050042          	 //Camera acquisition exception 3	相机采集异常3
#define  SCI_ERR_CAMERA_EXCEPTION4                        	1050043          	 //Camera acquisition exception 4	相机采集异常4
#define  SCI_ERR_CAMERA_NETWORK_CARD_NOT_FOUND            	1050044         	 //Cannot find the network card   无法找到网卡


//SciImageWnd_Q
#define SCI_ERR_INVALID_WND                                                          11504001             // Invalid the window handle;无效图像控件窗口id
#define SCI_ERR_INVALID_PARA                                                         11504002             // Invalid parameter value;无效参数
#define SCI_ERR_INVALID_ROIID                                                        11504003             // Invalid ROIID;图像控件中roi无效id
#define SCI_ERR_INVALID_OVERLAY                                                      11504004             // Invalid OVERLAY;图像控件中无效OVERLAY
#define SCI_ERR_INVALID_OVERLAYID                                                    11504005             // Invalid OVERLAYID;图像控件中OVERLAY无效id
#define SCI_ERR_INVALID_OVERLAYPATH                                                  11504006             // Invalid OVERLAYPATH;图像控件中无效OVERLAYPATH

//ImageWnd_M
#define  SCI_ERR_IMAGEWND_INVALID_VALUE     				11504101              //Invalid parameter value				参数值无效
#define  SCI_ERR_IMAGEWND_INVALID_WND       				11504102              //Invalid the window handle			窗口句柄无效
#define  SCI_ERR_IMAGEWND_CREATE_WND        				11504103              //Fail to creat image window			无法创建图像窗口
#define  SCI_ERR_IMAGEWND_DESTROY_WND       				11504104              //Fail to destroy image window		无法销毁图像窗口
#define  SCI_ERR_IMAGEWND_SAVE_IMAGE        				11504105              //Fail to save image					保存截屏失败
#define  SCI_ERR_IMAGEWND_INVALID_ROI       				11504106              //Invalid ROI							无效ROI
#define  SCI_ERR_IMAGEWND_INVALID_OVERLAY   				11504107              //Invalid OVERLAY						无效OVERLAY

//Correct Image
#define SCI_ERR_CRC_DIST_PARAM			           			1070001		    	 //Wrong value of control cameraParam in the Function of CorrectImageDistortion.
#define SCI_ERR_CRC_POSI_PARAM			           			1070002		    	 //Wrong value of control mapParam in the Function of CorrectImagePosition.

//2D通用错误码
#define  SCI_OK                                    			0               	 //Handle Success.								处理成功
#define  SCI_ERR_DIALOG_CANCEL                     			2               	 //Cancel Dialog ,The Parameters cannot Save.	取消对话框，参数无法保存
#define  SCI_ERR_EMPTY_IMG                         			11000001         	 //Image is empty								.图像为空
#define  SCI_ERR_ROI_TYPE                          			11000002         	 //Wrong type of ROI.							错误ROI类型           
#define  SCI_ERR_ROI_BOUNDS                        			11000003         	 //ROI out of bounds.							ROI越界
#define  SCI_ERR_NOT_SUPPORT_GRAYIMG               			11000004         	 //Does not support single channel gray image.	不支持单通道图像
#define  SCI_ERR_NOT_SUPPORT_COLORIMG              			11000005         	 //Does not support multi channels color image.	不支持多通道图像
#define  SCI_ERR_NOT_SUPPORT_CURIMAGE_CHANNELS     			11000006         	 //Does not support the current channel of the image.不支持图像的当前通道
#define  SCI_ERR_INPARA_LENGTH				       			11000007         	 //Incorrect length of input paras.				输入的段落长度不明确
#define  SCI_ERR_FAILED_OPEN_DIALOG							11000008			 //Failed to open the dialog					表示不能打开对话框
#define  SCI_ERR_IMAGE_TYPE									11000009 			 //Does not support current image depth!		表示不支持当前图像位深
#define  SCI_ERR_LENGTH_POINT_ARRAY             			11000010       		 //The length of point array is wrong			表示点数组长度不对
#define  SCI_ERR_LENGTH_ANGLE_ARRAY             			11000011       		 //The length of angle array is wrong			表示角度数组长度不对
#define  SCI_ERR_LENGTH_IMAGE_ARRAY             			11000012       		 //The length of SciImageArray is wrong			表示图像数组长度不对
#define  SCI_ERR_MEMORY             						11000013       		 //Memory is not enough							表示内存不够
#define  SCI_ERR_FAILED_COMMUNICATION                 		11000014          	 //Fail to Communication						表示通讯失败
#define  SCI_ERR_FAILED_RUNNING                  			11000015          	 //Running algorithm failed						表示运行算法失败
#define  SCI_ERR_DIFF_IMAGE_TYPE                  			11000016          	 //The type of images is difference.			表示输入的多张图像位深不一致
#define  SCI_ERR_DIFF_IMAGE_SIZE                 			11000017          	 //The width of images is difference.			表示输入的多张图像尺寸不一致
#define  SCI_ERR_DIFF_IMAGE_CHANNEL                 		11000018          	 //The channel of images is difference.			表示输入的多张图像通道数不一致
#define  SCI_ERR_DIFF_IMAGE_STEP                 			11000019          	 //The step of images is difference.			表示输入的多张图像步长不一致
#define  SCI_ERR_CONTOUR_EMPTY                 			    11000020          	 //Contour is empty								表示输入的轮廓为空
#define  SCI_ERR_REGION_EMPTY                 			    11000021          	 //Region is empty								表示输入的区域为空
#define  SCI_ERR_OVERLAY_TYPE                			    11000022          	 //Wrong type of Overlay.						表示输入的Overlay类型错误，不支持当前类型
#define  SCI_ERR_VAR_TYPE                			        11000023          	 //Wrong type of var.							表示输入的Var类型错误，不支持当前类型
#define  SCI_ERR_LOW_THRESHOLD                			    11000024          	 //Wrong low threshold .						表示输入的低阈值大于了图像的最大灰度
#define  SCI_ERR_UNKNOWN                            		11000025          	 //Error unknown. 未知错误
#define  SCI_ERR_ONLY_SUPPORT_SINGLE_CHANNEL               	11000026         	 //Only support single channel gray image.		仅支持单通道图像
#define  SCI_ERR_ONLY_SUPPORT_THREE_CHANNELS                11000027         	 //Only support three channels color image.		仅支持三通道图像
#define  SCI_ERR_ONLY_SUPPORT_FOUR_CHANNELS              	11000028         	 //Only support four channels color image.		仅支持四通道图像
#define  SCI_ERR_MUCHPOINTS									11000029			 //边缘点过多
#define  SCI_ERR_DIFF_IMAGE_WIDTH            				11000030          	 //The width of images is difference.			表示输入的多张图像宽度不一致
#define  SCI_ERR_DIFF_IMAGE_HEIGHT          				11000031          	 //The height of images is difference.			表示输入的多张图像高度不一致
#define  SCI_ERR_LOW_THRESHOLD1                			    11000032          	 //Wrong low threshold .						表示第一通道输入的低阈值大于了图像的最大灰度
#define  SCI_ERR_LOW_THRESHOLD2                			    11000033          	 //Wrong low threshold .						表示第二通道输入的低阈值大于了图像的最大灰度
#define  SCI_ERR_LOW_THRESHOLD3                			    11000034          	 //Wrong low threshold .						表示第三通道输入的低阈值大于了图像的最大灰度
#define  SCI_ERR_LENGTH_ROI_ARRAY             			    11000035      		 //The length of ROI array is wrong				表示ROI数组长度不对
#define  SCI_ERR_ROI_SIZE             			            11000036     		 //The size of ROI is wrong						表示ROI尺寸不在有效值范围内
#define  SCI_ERR_LENGTH_MASKROI            			        11000037     		 //The length of MaskROI is wrong				表示MaskROI长度不对
#define  SCI_ERR_EMPTY_RUN                    				11000038    		 //游程为空
#define  SCI_ERR_LENGTH_TOO_SHORT_RUNARRAY                  11000039			 //游程长度太短
#define  SCI_ERR_CONTAIN_EMPTY_RUNARRAY                     11000040			  //游程为空
#define  SCI_ERR_MODEL_TYPE                                 11000041              //The model type is not match 模板不匹配
#define  SCI_ERR_ROI_SIZETOOSMALL							11000042			  //ROI宽度或者高度太小
#define  SCI_ERR_RANGEIMAGE_INFO							11000043			  //The depth map resolution may be 0 or the attribute is incorrect. 深度图分辨率可能为0或属性不正确
#define  SCI_ERR_16UTO8U                                    11000044              //16U图像转8U失败
#define  SCI_ERR_CHANNEL_IMAGE_ARRAY                        11000045              //The channel of SciImageArray is wrong表示图像数组中图像的通道数不一致
#define  SCI_ERR_EMPTY_IMAGE_ARRAY                          11000046              //There are empty images in the image array表示图像数组中有的图像大小为0
#define  SCI_ERR_EMPTY_REGION_ARRAY							11000047         	  //region array is empty						region数组为空
#define  SCI_ERR_REGION_ALL_NEGATIVE_COLS					11000048              //The starting column to the ending column of the region are all negative   构建起始列且终止列皆为负的区域
#define  SCI_ERR_REGION_ALL_NEGATIVE_ROWS                   11000049			  //The number of rows in the region is all negative   构建行数皆为负的区域	


//3D通用错误码
#define SCI_3D_ERR_EMPTY_RANGEIMAGE                         11100001              //The RangeImage is empty.					深度图为空
#define SCI_3D_ERR_EMPTY_POINTCLOUD                         11100002              //The PointCloud is empty.					点云为空
#define SCI_3D_ERR_NO_VALID_POINT                           11100003              //There is no valid point.					无有效点
#define SCI_3D_ERR_INVALID_SHAPE                            11100004              //The shape is not valid.						3DShape无效
#define SCI_3D_ERR_INVALID_POINTS_DIMENSION                 11100005              //The points cluster has a dimension less than expected        指定的点与点之间的间距过小
#define SCI_3D_ERR_NOT_ENOUGH_POINTS                        11100006              //The points cluster has not enough points for computation        点云没有足够的点用于计算
#define SCI_3D_ERR_NO_INTERSECTION_POINT                    11100007              //No intersection found						未找到交集
#define SCI_3D_ERR_PARALLEL                                 11100008              //The two shapes have parallel configurations  两形状平行，无相交区域              
#define SCI_3D_ERR_INVALID_POSE_MATRIX                      11100009              //The pose matrix is not valid				姿势矩阵无效
#define SCI_3D_ERR_EQUIVALENCE_SHAPE                        11100010              //The two shapes are equivalent				两个形状相同
#define SCI_3D_IDENTITY_OR_TOO_CLOSE_POINTS                 11100011              //Two points are too close or identity points: Euclidean distance is 0  两个点距离太近：欧式距离为0
#define SCI_3D_ERR_NO_NEIGHBOR_POINTS                       11100012              //Isolated point: No points as neighborhood	没有相邻点
#define SCI_3D_ERR_NO_MATCH_POINT                           11100013              //Match fail: no match point					匹配失败：无可匹配的点
#define SCI_3D_ERR_INVALID_OVERLAP_CONFIG                   11100014              //Invalid overlap configuration.				重叠配置无效
#define SCI_3D_ERR_EMPTY_TRIANGLEMESH                       11100015              //The TriangleMesh is empty					三角网格为空
#define SCI_3D_ERR_NO_VALID_VERTICES                        11100016              //No vertex in the Trianglemesh				三角形网格中没有顶点数据
#define SCI_3D_ERR_EMPTY_TRIANGLE_FACE                      11100017              //No triangle face in the TriangleMesh        三角网格没有三角网格数据      
#define SCI_3D_ERR_NO_VALID_TRIANGLE_FACE                   11100018              //There is no valid triangle face             三角形面无效        
#define SCI_3D_ERR_DIFFERENT_SHAPE                          11100019              //Two Data are different, unable to compare   无法对比两个不同的数据
#define SCI_3D_ERR_INVALID_METHOD                           11100020                
#define SCI_3D_ERR_NO_VALID_POINT_AFTER_THRESHOLD           11100021
#define SCI_3D_ERR_INVALID_ID                               11100022              //The object ID is not valid              对象ID无效
#define SCI_3D_ERR_NO_RENDER_OBJECTS                        11100023              //There is no render objects              无渲染对象
#define SCI_3D_ERR_BAD_FITTING_PLANE                        11100024              //拟合平面失败
#define SCI_3D_ERR_UNSUPPORTED_DATATYPE                     11100025              //不支持的数据类型
#define SCI_3D_ERR_RANGIMAGE_DIFFERENT_FORMAT               11100026              //深度图格式不同
#define SCI_3D_ERR_NO_SUITABLE_RESULT                       11100027               //There is no suitable result			无合适的结果
#define SCI_3D_ERR_NO_VALID_VALUE                           11100028               //There is no valid Value                无有效值
#define SCI_3D_ERR_RANGEIMAGE_TYPE                          11100029               //Does not support current RangeImage type!                不支持当前深度图类型
#define SCI_3D_ERR_DIFFERENT_RANGEIMAGE_TYPE                11100030              //Two RangeImage types are different, Unable to handle   两张深度图类型不同，无法处理

//接口防护错误码
#define  SCI_ERR_INPARA_1            	           			11200001          	   //Incorrect value of input para 1.	第1个参数输入不正确
#define  SCI_ERR_INPARA_2            	           			11200002         	   //Incorrect value of input para 2.	第2个参数输入不正确
#define  SCI_ERR_INPARA_3            	           			11200003         	   //Incorrect value of input para 3.	第3个参数输入不正确
#define  SCI_ERR_INPARA_4            	           			11200004         	   //Incorrect value of input para 4.	第4个参数输入不正确
#define  SCI_ERR_INPARA_5            	           			11200005          	   //Incorrect value of input para 5.	第5个参数输入不正确
#define  SCI_ERR_INPARA_6           	          	 		11200006         	   //Incorrect value of input para 6.	第6个参数输入不正确
#define  SCI_ERR_INPARA_7            	           			11200007         	   //Incorrect value of input para 7.	第7个参数输入不正确
#define  SCI_ERR_INPARA_8            	           			11200008         	   //Incorrect value of input para 8.	第8个参数输入不正确
#define  SCI_ERR_INPARA_9            	           			11200009         	   //Incorrect value of input para 9.	第9个参数输入不正确
#define  SCI_ERR_INPARA_10            	           			11200010         	   //Incorrect value of input para 10.	第10个参数输入不正确
#define  SCI_ERR_INPARA_11            	           			11200011        	   //Incorrect value of input para 11.	第11个参数输入不正确
#define  SCI_ERR_INPARA_12           	           			11200012         	   //Incorrect value of input para 12.	第12个参数输入不正确
#define  SCI_ERR_INPARA_13            	           			11200013         	   //Incorrect value of input para 13.	第13个参数输入不正确
#define  SCI_ERR_INPARA_14            	           			11200014         	   //Incorrect value of input para 14.	第14个参数输入不正确
#define  SCI_ERR_INPARA_15            	           			11200015         	   //Incorrect value of input para 15.	第15个参数输入不正确
#define  SCI_ERR_INPARA_16            	           			11200016         	   //Incorrect value of input para 16.	第16个参数输入不正确
#define  SCI_ERR_INPARA_17            	           			11200017         	   //Incorrect value of input para 17.	第17个参数输入不正确
#define  SCI_ERR_INPARA_18            	          	 		11200018         	   //Incorrect value of input para 18.	第18个参数输入不正确
#define  SCI_ERR_INPARA_19           	           			11200019        	   //Incorrect value of input para 19.	第19个参数输入不正确
#define  SCI_ERR_INPARA_20            	          			11200020         	   //Incorrect value of input para 20.	第20个参数输入不正确
#define  SCI_ERR_INPARA_21            	           			11200021         	   //Incorrect value of input para 21.	第21个参数输入不正确
#define  SCI_ERR_INPARA_22            	           			11200022         	   //Incorrect value of input para 22.	第22个参数输入不正确
#define  SCI_ERR_INPARA_23            	           			11200023         	   //Incorrect value of input para 23.	第23个参数输入不正确
#define  SCI_ERR_INPARA_24            	           			11200024        	   //Incorrect value of input para 24.	第24个参数输入不正确
#define  SCI_ERR_INPARA_25           	           			11200025         	   //Incorrect value of input para 25.	第25个参数输入不正确
#define  SCI_ERR_INPARA_26            	           			11200026         	   //Incorrect value of input para 26.	第26个参数输入不正确
#define  SCI_ERR_INPARA_27            	           			11200027         	   //Incorrect value of input para 27.	第27个参数输入不正确
#define  SCI_ERR_INPARA_28            	          			11200028        	   //Incorrect value of input para 28.	第28个参数输入不正确
#define  SCI_ERR_INPARA_29            	           			11200029         	   //Incorrect value of input para 29.	第29个参数输入不正确
#define  SCI_ERR_INPARA_30            	           			11200030         	   //Incorrect value of input para 30.	第30个参数输入不正确
#define  SCI_ERR_INPARA_31            	           			11200031         	   //Incorrect value of input para 31.	第31个参数输入不正确
#define  SCI_ERR_INPARA_32            	           			11200032         	   //Incorrect value of input para 32.	第32个参数输入不正确
#define  SCI_ERR_INPARA_33           	           			11200033         	   //Incorrect value of input para 33.	第33个参数输入不正确
#define  SCI_ERR_INPARA_34            	           			11200034          	   //Incorrect value of input para 34.	第34个参数输入不正确
#define  SCI_ERR_INPARA_35            	           			11200035       	       //Incorrect value of input para 35.	第35个参数输入不正确
#define  SCI_ERR_INPARA_36            	           			11200036       	       //Incorrect value of input para 36.	第36个参数输入不正确
#define  SCI_ERR_INPARA_37            	           			11200037         	   //Incorrect value of input para 37.	第37个参数输入不正确
#define  SCI_ERR_INPARA_38            	           			11200038         	   //Incorrect value of input para 38.	第38个参数输入不正确
#define  SCI_ERR_INPARA_39           	          			11200039         	   //Incorrect value of input para 39.	第39个参数输入不正确
#define  SCI_ERR_INPARA_40            	           			11200040          	   //Incorrect value of input para 40.	第40个参数输入不正确


#define  SCI_ERR_INVALID_OUTPUTPOINTER                      11201001               //输出参数给予了空指针，不允许给空指针

#define  SCI_ERR_SYSTEM_VERSION								11202001               //The current system version does not support it		当前系统版本不支持
#define  SCI_ERR_LOAD_DLL                                   11202002               //Failed to load dynamic library		未能加载动态库

//SciROIDataConvert
#define  SCI_ERR_DIFFERENCE_ARRAYSIZE                       11301001                //the Length of roiAngleArray and the Length of roiPointArray are difference . roiAngleArray 和roiPointArray的长度不同
#define  SCI_ERR_DIFFERENCE_ROISIZE                         11301002                //the size of roiImage and size of ROI rect are difference .  roiImage的大小和ROI矩形的大小不同
#define  SCI_ERR_ROINANINF                                  11301003                //Get ROI was met with NAN and an infinite number.  得到的ROI是NAN或无限数字。
#define  SCI_ERR_GETROI                                     11301004                //Get ROI was return error. 得到的ROI异常
#define  SCI_ERR_WIDTHTOOSHORT                              11301005                //Width is too short． 宽太短
#define  SCI_ERR_HEIGHTTOOSHORT                             11301006                //Height is too short. 高太短
#define  SCI_ERR_ROIDATACONVERT_EXTRACT_FAILED              11301007                //failed to extract ROI Image;  提取图像失败
#define  SCI_ERR_ROIDATACONVERT_RESTORE_FAILED              11301008                //failed to restore ROI Image;  复原图像失败
#define  SCI_ERR_ROI_CONTAINED_SIZE_TOO_SMALL               11301009                // ROI contain is too small;ROI 太小
#define SCI_ERR_ROIDATACONVERT_MEMEORYALLOCATE_FAILED       11301010                //Out of local memory.本地内存不足
#define SCI_ERR_ROI_SIZE_TOO_LARGE                          11301012                // ROI contain is too large ;ROI 太大

//Sci3DROIDataConvert
#define SCI_ERR_3DROIDATACONVERT_EXTRACT_FAILED             11302107				//failed to extract ROI image 获取ROI图像失败
#define SCI_ERR_3DROIDATACONVERT_RESTORE_FAILED             11302108                //failed to restore ROI image复原ROI图像失败
#define SCI_ERR_3DROIDATACONVERT_GET_ROI_POINT_FAILED       11302109                //failed to Get ROI Point获取ROI内部点失败


//checkDog
#define SCI_ERR_CHECKDOG      			           			11304001		         //Validity check failed,please insert dongle.	有效性检查失败，请插入加密狗

//SciData
#define SCI_MS_UNINITIALIZED       							11401001     			  //No memory allocated;没有分配内存
#define SCI_MS_ANCHOR_BEYOND_ROWS  							11401002     			  //The number of rows of MorphStruture is less than or equal to anchorX、 anchorY;形态核的行数小于等于锚点的横纵坐标
#define SCI_MS_ANCHOR_BEYOND_COLS  							11401003     			  //The number of cols of MorphStruture is less than or equal to anchorX、 anchorY;形态核的列数小于等于锚点的横纵坐标

//SciDataConvert
#define SCI_ERR_GET_REGION_RUN       						11403000                  //Get the wrong run of region. 得到错误的区域游程
#define SCI_ERR_GET_MASK             						11403001                  //Get the wrong mask. 得到错误的mask
#define SCI_ERR_CONTOUR_TO_MAT                              11403002				   //Wrong occurred while contouring to image. 轮廓转图像错误,轮廓数组存在负数或者轮廓转得得Mat过大会抛出此异常

//SciMathTool
#define SCI_ERR_MATRIX_INVALID_SQUARE 						11404000                   //Invalid square matrix		无效方阵
#define SCI_ERR_MATRIX_INVALID_SIZE 						11404001                   //Invalid matrix size		无效的矩阵大小
#define SCI_ERR_MATRIX_INVALID_POSITION 					11404002                   //Wrong number of the position value		位置值的编号错误	
#define SCI_ERR_MATRIX_NOT_SYMMETRIC 						11404003                   //Not symmetrix matrix		非对称性矩阵
#define SCI_ERR_MATRIX_WRONG_METHOD 						11404004                   //Wrong method				错误方法
#define SCI_ERR_MATRIX_INVALID_COLUMN_NUM 					11404005                   //Incorrect column number	列编号不正确	
#define SCI_ERR_MATRIX_INVALID_ROW_NUM 						11404006                   //Incorrect row number		行编号不正确

//SciDataStorage
#define  SCI_ERR_NOT_FINDDATA      			       			11405001		    	    //No data found, data lost			未找到数据，数据丢失
#define  SCI_ERR_FILEPATH             			   			11405002		    	    //The input path cannot be empty	输入路径不能为空
#define  SCI_ERR_SECTIONNAME             		   			11405003		    	    //The input name cannot contain spaces and cannot be empty		输入名称不能包含空格且不能为空

//3D图像控件
#define SCI_ERR_3DGRAPHICS_LENGTH_COLORARRAY                11501001  //The input color array length is not equal to the number of points	 输入的颜色数组长度与点数组不相等
#define SCI_ERR_3DGRAPHICS_CREATE_SCIIMAGE                  11501002  //Screenshots failed				截屏失败
#define SCI_ERR_3DGRAPHICS_APPEND_STREAM_VERTEXARRAY        11501003  //The input data length error		逐帧渲染传入的图像数据有误
#define SCI_ERR_3DGRAPHICS_CHANNEL_COLORARRAY               11501004  //Input color array channels error 颜色数组通道数有误
#define SCI_ERR_3DGRAPHICS_SIZE_RANGEIMAGE                  11501005  //Input range image oversize		传入的深度图大小过大
#define SCI_ERR_3DGRAPHICS_HEIGHT_RANGE                     11501006  //The height range is too large 高度范围太大
#define        SCI_ERR_3DGRAPHICS_CLIPPING_PLANE            11501007  //Invalid clipping plane  裁剪平面无效
#define        SCI_ERR_3DGRAPHICS_NO_VALID_DATA             11501008  //There is no data in widget  窗口内无数据
#define        SCI_ERR_3DGRAPHICS_NO_VALID_LASSO            11501009  //There is no lasso in widget 没有画套索

#define SCI_ERR_3DGRAPHICS_APPEND_STREAM_COLORARRAY         11501014  //Input color array length error	逐帧渲染传入的颜色数据有误
#define SCI_ERR_3DGRAPHICS_APPEND_STREAM_FINISHED           11501015  //Append data stream is finished	逐帧渲染已经结束，无法继续传入数据
#define SCI_ERR_3DGRAPHICS_SAMPLERATIO                      11501016  //The sampling rate is greater than the width or height of the image	采样率大于图片的宽度或高度


//SciChartsView
#define  SCI_ERR_CHART_AXIS_ALREADY_EXIST                 	11502001					//该轴已存在
#define  SCI_ERR_CHART_AXIS_NOT_EXIST                     	11502002					//该轴不存在
#define  SCI_ERR_CHART_AXIS_TYPE                          	11502003					//不支持的类型
#define  SCI_ERR_CHART_PARAMS_NOT_EQUAL                   	11502004					//参数1和参数2长度不相等
#define  SCI_ERR_CHART_ARRAY_EMPTY                        	11502005					//数组为空
#define  SCI_ERR_CHART_DATANAME_ALREADY_EXIST             	11502006					//数据名已存在
#define  SCI_ERR_CHART_DATANAME_NOT_EXIST                 	11502007					//数据名不存在
#define  SCI_ERR_CHART_DATANAME_TYPE                      	11502008					//不支持的类型
#define  SCI_ERR_CHART_PARAMS_ORDER                       	11502009					//参数次序错误


//文件操作
#define SCI_ERR_XML_NODE_NOT_FIND            				11602001 					 //The node cannot be found				找不到节点
#define SCI_ERR_XML_ELEMENT_NOT_FIND            			11602002 					 //The element cannot be found			找不到元素
#define SCI_ERR_XML_ELEMENT_CONVERSION          			11602003				     //Element type error					元素类型错误
#define SCI_ERR_XML_STARTEND_NOT_MATCH          			11602004 					 //The XML document format does not match	XML文档格式不匹配	
#define SCI_ERR_XML_FILE_NOT_OPEN               			11602005 					 //File opening failed					无法打开文件
#define SCI_ERR_XML_FILE_READ                   			11602006 					 //XML file parse error, incorrect element name or node name	XML文件解析错误，元素名称或节点名称不正确		
#define SCI_ERR_XML_ELEMENT_TOO_LITTLE          			11602007 					 //XML has too little content			XML文件内容太少
#define SCI_ERR_XML_ELEMENT_NULL                			11602008 					 //The XML memory element is empty		XML内存元素为空
#define SCI_ERR_XML_STORAGE_NOT_ENOUGH          			11602009 					 //Insufficient memory space to allocate space	内存空间不足，无法分配空间
#define SCI_ERR_SETTINGS_ACCESS                 			11602010 					 //Access error occurs; For example, write to a read-only file		发生访问错误；例如，写入只读文件
#define SCI_ERR_SETTINGS_FORMAT                 			11602011 					 //Format error; For example, loading an ini file in the wrong format		格式错误；例如，加载格式错误的ini文件
#define SCI_ERR_XML_MAT_DATA                    			11602012 					 //Mat's data length does not match its type						Mat的数据长度与其类型不匹配



//config
#define  SCI_ERR_CONFIG_NO_NEEDED_FILE                      11603001                     //Did not find the corresponding file;未找到相应的文件(setting.ini文件)
#define  SCI_ERR_CONFIG_SECTION_NAME                        11603002                     //The section name is incorrect;节名不正确(setting.ini文件里节名不是Setting)


//Excel
#define SCI_ERR_NOT_OPEN	                       			11604001					 //Fail to open  Excel				打开Excel文件失败
#define SCI_ERR_NOT_OPENSHEET	                   			11604002					 //Fail to open Excel workSheet		打开Excel文件工作表失败
#define SCI_ERR_NOT_WRITE	                       			11604003	        		 //Fail to write data in the cell	子表写入数据失败
#define SCI_ERR_NOT_SAVE	                       			11604004	        		 //Fail to save the excel file		Excel文件保存失败
#define SCI_ERR_NOT_SAVEAS                  	   			11604005	        		 //Fail to saveAs the excel file	Excel文件另存为失败


//SciSPCTools
#define SCI_ERR_SPC_EMPTY_DATA                              11605001					 //Empty data												数据为空
#define SCI_ERR_SPC_INVALID_LIMIT                           11605002					 //Invalid limit value										限制值无效
#define SCI_ERR_SPC_INVALID_DATA                            11605003					 //Invalid data												无效数据
#define SCI_ERR_SPC_INVALID_STDTYPE                         11605004					 //Invalid stdType											标准差计算方式无效
#define SCI_ERR_SPC_OVERSTEP_LIMIT                          11605005					 //Overstep limit value										限制值超出取值范围
#define SCI_ERR_SPC_LOADFILE_ERROR                          11605006					 //Load file error											加载文件错误
#define SCI_ERR_SPC_CHART_OVERFLOW                          11605007					 //Chart overflow caused by abnormal maximum and minimum CPK values;CPK最大最小值异常导致的图表溢出
#define SCI_ERR_SPC_INVALID_STD_RESULT                      11605008                     //Invalid limit Standard deviation value					偏差值无效
#define SCI_ERR_SPC_INVALID_CONTROL_LIMIT                   11605009                     //Invalid limit control limit value						上下规格线值无效
#define SCI_ERR_SPC_INVALID_TARGET_VALUE                    11605010                     //The target value is not within the control limits		目标值不在控制范围内
#define SCI_ERR_SPC_INVALID_STD_CALC_METHOD                 11605011                     //The Method of calculating STD is undefined or invalid	计算STD的方法未定义或无效
#define SCI_ERR_SPC_FAILED_CALCULATE_CPK                    11605012					 //Failed to calculate the cpk value						计算cpk值失败

//SciCAD
#define SCI_ERR_CAD_FILEOPENFAILED									11606101         //文件打开失败  File open failed
#define SCI_ERR_CAD_FILEFORMATABNORMAL								11606102         //文件格式异常 Abnormal file format
#define SCI_ERR_CAD_DATAABNORMAL									11606103         //数据异常  Abnormal data
#define SCI_ERR_CAD_FILESAVEFAILED									11606104         //文件保存失败  The file save failed
#define SCI_ERR_CAD_TEXTERROR										11606105         //文字数据异常  Text data exceptions
#define SCI_ERR_CAD_ContourPropsError								11606106         //属性数据异常  Abnormal attribute data
#define SCI_ERR_CAD_GetDataCountIsZero								11606107        //获取数据数量为0  To get the data quantity is 0
#define SCI_ERR_CAD_UNDEF3DSHAPE									11606108        //保存未定义的3DShape  Save the 3DShape  undefined

//SciMultiLanguage
#define  SCI_ERR_NO_LANGUAGE_FILE							20100001					 //Multilingual resources do not exist;多语言资源文件不存在
#define  SCI_ERR_NO_NEEDED_FILE								20100002					 //Unable to find the required language resource file;未找到所需对应语言资源文件
#define  SCI_ERR_SECTION_NAME								20100003					 //Incorrect input in paragraph name;输入的段落名不正确
#define  SCI_ERR_HANDLE										20100004					 //Incorrect input in handle ;输入的句柄不正确
#define  SCI_ERRSTRINGID									20100005					 //Incorrect input in character string ID;输入的字符串ID错误
#define  SCI_ERR_ENVIRONMENT_PATH							20100006					 //Error in environment variable path;环境变量路径出错

//SciCalibrate
#define SCI_ERR_CALI_FIND_CORNERS                           20101001                     //Inner corners is not found.					找不到标定板内部角点
#define SCI_ERR_CALI_OPEN_FILE                              20101002                     //Open parameter file is failed.				打开参数文件失败
#define SCI_ERR_CALI_NULL_DATA                              20101003                     //Write or read null parameter.				写入或读取到了空的参数
#define SCI_ERR_CORRE_POINTS                                20101004                     //The length of two points arrays is unequal.	两点数组的长度不相等
#define SCI_ERR_CORRE_LESSPOINTS                            20101005                     //Mark points less than the predetermined number	标记点小于预定数量
#define SCI_ERR_CORRE_Mark                                  20101006                     //No mark point found							未找到标记点
#define SCI_ERR_CORRE_DISTANCE					   			20101007				     //Point distance calibration, mechanical distance can not be 0		点距校准，机械距离不能为0
#define SCI_ERR_CORRE_WORLDPOINTS				   			20101008				     //Machine coordinates less than the predetermined number		机器坐标点少于预定数量
#define SCI_ERR_CORRE_DISTORTFILE				   			20101009				     //Distortion file loading failed				畸变标定文件加载失败
#define SCI_ERR_CORRE_COM						   			20101010			 	     //Communication settings failed				通信设置失败
#define SCI_ERR_CORRE_ALG			               	 		20101011			 	     //Image algorithm setting failed				图像算法设置失败
#define SCI_ERR_CORRE_SPACE						   			20101012			 	     //Spacing cannot be 0							间距不能为 0
#define SCI_ERR_CORRE_CLOMNROW					   			20101013			 	     //Calibration board row or column cannot be 0	校准板行或列不能为 0
#define SCI_ERR_CORRE_INN						   			20101014			 	     //Calibration board internal reference calibration failed		标定参数读取失败
#define SCI_ERR_CORRE_IMAGE						      		20101015			 	     //The number of images in the folder is less than the predetermined number		文件夹中的图像数量小于预定数量
#define SCI_ERR_CORRE_HANDFILe					   	     	20101016			 	     //Hand-eye calibration file reading failed		手眼标定文件读取失败
#define SCI_ERR_CORRE_ANGLE					       			20101017			 	     //Angle less than the predetermined number		角度数量少于预定数
#define SCI_ERR_CORRE_FILE						   			20101018			 	     //Calibration file failed to load				标定文件加载失败
#define SCI_ERR_CORRE_RESULT					   			20101019			 	     //Calibration result file creation failed		标准结果文件创建失败
#define SCI_ERR_CORRE_Camera					   			20101020			 	     //The camera settings failed					相机设置失败
#define SCI_ERR_CALI_FAILED 				   				20101021			 	     //Calibrate failed								标定失败
#define SCI_ERR_CORR_FAILED  								20101022        		     //Image correction failed						畸变校正失败。
#define SCI_ERR_CALI_BOARDTYPE								20101023					//The type of calibration board is wrong		标定板类型错误

#define SCI_ERR_CORRE_EXCEPTION1							20101100			 	     //Calibrate exception 1						相机标定捕获异常
#define SCI_ERR_CORRE_EXCEPTION2							20101101				     //Calibrate exception 2
#define SCI_ERR_CORRE_EXCEPTION3							20101102				     //Calibrate exception 3
#define SCI_ERR_CORRE_EXCEPTION4							20101103				     //Calibrate exception 4
#define SCI_ERR_CORRE_EXCEPTION5							20101104				     //Calibrate exception 5						畸变校正捕获异常
#define SCI_ERR_CORRE_EXCEPTION6							20101105				     //Calibrate exception 6						透视变换捕获异常


//SciLamination
#define SCI_ERR_LAMINATION_ANGLE                            20102001                     //The angle of lamination is wrong				角度错误
#define SCI_ERR_LAMINATION_PIXUNITZERO                      20102002                     // The pixunit of lamination is wrong			像素当量错误
#define SCI_ERR_LAMINATION_INVALIDPARAM                     20102003                     // The parameter of lamination is wrong		参数无效
#define SCI_ERR_LAMINATION_CALIBSTATE                       20102004                     //The Calibration status of lamination is wrong 标定状态错误


//SciFocus
#define  SCI_ERR_FOCUS_NO_IMAGEFILE	               			20103002                     //Fail to find image files				找不到图像文件
#define  SCI_ERR_FOCUS_CATCH_SCORE_FAILED 					20103100			         //Get score catch abnormal				获取分数异常
#define  SCI_ERR_FOCUS_CATCH_Statistics_FAILED 				20103101			         //Score Statistics  catch abnormal		分数统计异常



//SciRadiometricSelfCalibration
#define SCI_ERR_RADIO_EXPOSURE_FILE							20105001								//The exposure file is error.				曝光文件错误
#define SCI_RADIO_FILE_OPEN_FAILED							20105002								//The .rcal file open failed				.rcal文件打开失败
#define SCI_RADIO_FILE_NOT_READ								20105003								//The .rcal file can not read				.rcal文件无法读取
#define SCI_RADIO_FILE_SAVE_FAILED							20105004								//The .rcal file save failed				.rcal文件保存失败
#define SCI_RADIO_RESULT_FILE_SAVE_FAILED					20105005								//The .ini file save failed					.ini文件保存失败
#define SCI_SHOWDIOLOG_EXTRACTION_FAILED                    20105101                                //ShowDialog exception;						ShowDialog异常
#define SCI_EXCUTE_RSC_EXTRACTION_FAILED                    20105102                                //excute exception;							excute函数异常
#define SCI_RADIO_SELF_CALIBRATION_EXTRACTION_FAILED        20105103                                //RadiometricSelfCalibration alg exception;	镭射自标定算法异常
#define SCI_COMBINEIMAGES_EXTRACTION_FAILED                 20105104                                //CombineImages exception;					融合图像异常
#define SCI_ADJUSTIMAGE_EXTRACTION_FAILED                   20105105                                //adjustImage exception;					灰度校正图像异常

//SciResolutionEvaluation
#define SCI_ERR_RESOLUTION_EVALUATION_RESULT_EMPTY          20106001                                 //Resolution Evaluation calculation result is empty；	分辨率评估计算结果为空
#define SCI_ERR_SELLECT_ROI_INCORRECTLY                     20106002                                 //The region is incorrectly；							区域不正确
#define SCI_ERR_ROI_EMPTY                                   20106003                                 //The region is empty；									区域为空
#define SCI_ERR_RESOLUTION_EVALUATION_GET_FAILED            20106101                                 //Get Resolution Evaluation failed;					无法获取分辨率评估结果


//2D图像操作以202开头
//SciImageOperation
#define SCI_ERR_NOSUPPORTED                  				20201001			     //Coefficients with angles are not supported       不支持带角度的参数
#define SCI_ERR_PASTE			             				20201002			     //error in paste.                   				图像粘贴错误
#define SCI_ERR_NOCONTOUR                  			     	20201003	             //no detect contour               					未检测到轮廓
#define SCI_ERR_IMAGESIZE                  			        20201004	             //not same size of images          				输入的多张图像大小不一致
#define SCI_ERR_IMAGECHANNEL                  			    20201005	             //not same channel of images        				输入的多张图像通道数不一致
#define SCI_ERR_IMAGEDEPTH                  			    20201006	             //not same depth of images          				输入的多张图像深度不一致

#define SCI_ERR_EXCEPTION_CREATECONST                       20201100                 //error create the const            				创建常量图片函数时出现异常错误
#define SCI_ERR_EXCEPTION_SETVALUE                          20201101                 //error set value of image          				设置图像像素值时出现异常错误
#define SCI_ERR_EXCEPTION_GETVALUE                          20201102                 //error get value of image          				获取图像像素值时出现异常错误
#define SCI_ERR_EXCEPTION_ADDBORDER					        20201103                 //error of addborder                				图像添加边缘时出现异常错误 
#define SCI_ERR_EXCEPTION_IMAGECONVERT					    20201104                 //error of imageconvert             				图像转换时出现异常错误
#define SCI_ERR_EXCEPTION_PASTE					            20201105                 //error paste in the condition of the too big/small value of overlap      在粘贴图像时，设置过大/过小的重叠参数时出现的异常错误
#define SCI_ERR_EXCEPTION_BITRELATIVE                       20201106                 //exception error in the function about Bit Calculation                   位运算函数中出现异常错误
#define SCI_ERR_EXCEPTION_WARPAFINNE                        20201107                 //exception error in the function warpAffine                              仿射变换函数出现异常错误

//SciThreshold
#define  SCI_ERR_THRESH_NO_BIMODAL                 			20202001          			 //Histogram can not gain a smooth bimodal				双峰二值化的直方图无法平滑成双峰
#define  SCI_ERR_THRESH_NOVALID_HISTOGRAM                   20202002          			 //Empty Histogram										直方图为空
#define  SCI_ERR_THRESH_NO_OUTPUT                 		    20202003          			 //No Output Result 									全缺省，没有输出结果
#define  SCI_ERR_THRESH_EXCEPTION_MANUAL                    20202100					 //Exception error in manualThreshold					手动二值化出现异常错误
#define  SCI_ERR_THRESH_EXCEPTION_OTSU                      20202101					 //Exception error in OTSUThreshold						大津法二值化出现异常错误
#define  SCI_ERR_THRESH_EXCEPTION_MANUALLOCAL               20202102					 //Exception error in manualLocalThreshold				局部自适应自动二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_CALCULATEHIST             20202103					 //Exception error in calculateHistogram				直方图获取数据出现异常
#define  SCI_ERR_THRESH_EXCEPTION_VALLEY                    20202104					 //Exception error in ValleyFloorMinimumThreshold		谷底最小值二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_DOUBLEPEAK                20202105					 //Exception error in DoublePeakMeanThreshold			双峰均值二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_ITERATIVE                 20202106					 //Exception error in IterativeBestThreshold			迭代最佳二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_FUZZY                     20202107					 //Exception error in FuzzySetThreshold					模糊集理论二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_HYSTERESIS                20202108					 //Exception error in hysteresisthreshold				滞后阈值二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_DYN                       20202109					 //Exception error in dynThreshold						动态阈值二值化出现异常
#define  SCI_ERR_THRESH_EXCEPTION_CV                        20202110					 //Exception error in the function of opencv			opencv函数中出现异常错误

//SciMorphology	
#define SCI_ERR_MORPH_ELEMENT                               20203001                     //Wrong value of element in the function                      函数中结构元素的值错误
#define SCI_ERR_MORPH_HITORMISS_ELEMENT1                    20203002                     //Wrong value of element1 in the function of HitOrMiss        HitOrMiss函数中结构元素1值错误
#define SCI_ERR_MORPH_HITORMISS_ELEMENT2                    20203003                     //Wrong value of element2 in the function of HitOrMiss        HitOrMiss函数中结构元素2值错误


//SciColorSpace
#define SCI_ERR_COLOR_CVT_SPACE                                                      20204001                             //The convert space of color is error. 颜色转换空间错误 
#define SCI_ERR_COLORSPACE_EXCEPTION1                                                20204101                             //ColorSpace exception1. 颜色空间异常1
#define SCI_ERR_COLORSPACE_EXCEPTION2                                                20204102                             //ColorSpace exception2. 颜色空间异常2
#define SCI_ERR_COLORSPACE_EXCEPTION3                                                20204103                             //ColorSpace exception3. 颜色空间异常3
#define SCI_ERR_COLORSPACE_EXCEPTION4                                                20204104                             //ColorSpace exception4. 颜色空间异常4 
#define SCI_ERR_COLORSPACE_EXCEPTION5                                                20204105                             //ColorSpace exception5. 颜色空间异常5
#define SCI_ERR_COLORSPACE_EXCEPTION6                                                20204106                             //ColorSpace exception6. 颜色空间异常6
#define SCI_ERR_COLORSPACE_EXCEPTION7                                                20204107                             //ColorSpace exception7. 颜色空间异常7
#define SCI_ERR_COLORSPACE_EXCEPTION8                                                20204108                             //ColorSpace exception8. 颜色空间异常8
#define SCI_ERR_COLORSPACE_EXCEPTION9                                                20204109                             //ColorSpace exception9. 颜色空间异常9
#define SCI_ERR_COLOR_CATCH_EXTRACTCOLORPLANE_FAILED								 20204110                             //ColorSpace exception10. 颜色空间异常10
#define SCI_ERR_COLOR_CATCH_GETCHANNEL_FAILED										 20204111                             //ColorSpace exception11. 颜色空间异常11
#define SCI_ERR_COLOR_CATCH_COMPOSE3_FAILED                                          20204112                             //ColorSpace exception12. 颜色空间异常12
#define SCI_ERR_COLOR_CATCH_DECOMPOSE3_FAILED										 20204113                             //ColorSpace exception13. 颜色空间异常13
#define SCI_ERR_COLOR_CATCH_DECOMPOSE4_FAILED										 20204114                             //ColorSpace exception14. 颜色空间异常14
#define SCI_ERR_COLOR_CATCH_CVT_FAILED                                               20204115                             //ColorSpace exception15. 颜色空间异常15
#define SCI_ERR_COLOR_CATCH_COMPOSE4_FAILED											 20204116                             //ColorSpace exception16. 颜色空间异常16


//SciFFT
#define SCI_ERR_FFT_ONLY_SUPPORT_FFT_IMG                    20205001                     //Only support FFTImage.	仅支持傅里叶图像
#define SCI_ERR_FFT_FFT_CRADH                               20205002                     //FFT crash				傅里叶变换崩溃
#define SCI_ERR_FFT_IFFT_CRASH                              20205003                     //IFFT crash				傅里叶逆变换崩溃
#define SCI_ERR_FFT_ARRAY_CRASH                             20205004                     //FFT Array Filter crash	一维数组傅里叶变换并滤波崩溃

//SciPreprocess
#define  SCI_ERR_SRCDATA_LENGTH          		  		 	20206001	    	 	     //Incorrect length of srcData		srcData的长度不正确

//SciStitch
#define SCI_ERR_STITCH_IMAGE_LACK                           20207001                     //There are not enough images for stitching   //没有足够的图像进行拼接
#define SCI_ERR_STITCH_FAIL                                 20207002                     //Stitch failed                               //拼接失败
#define SCI_ERR_STITCH_IMAGE_NUM                            20207003                     //There images number is error                //图像数量不正确
#define SCI_ERR_STITCH_CALIB_FAIL                           20207004                     //Calibration failed                          //标定失败
#define SCI_ERR_STITCH_CALIB_IMAGE_OVERLAP                  20207005                     //Calibration images do not overlap           //标定图像没有足够的重叠区域
#define SCI_ERR_STITCH_EXCEPTIONS_CALIBRATION               20207106                     //calibration                                 //标定捕捉异常

//异常
#define SCI_ERR_STITCH_EXCEPTIONS_CUTIMAGE					20207101					 //裁剪图像抛出异常	Cut image throws an exception
#define SCI_ERR_STITCH_EXCEPTIONS_ESTIMATE	                20207102				  	 //估计参数抛出异常	Estimated parameter throws an exception
#define SCI_ERR_STITCH_EXCEPTIONS_BUNDLEADJ					20207103					 //优化参数抛出异常	Optimized parameters throws an exception		
#define SCI_ERR_STITCH_EXCEPTIONS_WARPIMAGE					20207104					 //变换图像抛出异常	Transforming image throws an exception
#define SCI_ERR_STITCH_EXCEPTIONS_BLENDER					20207105					 //融合图像抛出异常	Fusion image throws an exception	
#define SCI_ERR_STITCH_EXCEPTIONS_CALIBRATION               20207106                     //标定捕捉异常		Calibration detection an error

//SciMirror
#define SCI_ERR_EXCEPTION_FLIP                              20208100                 //failed in the operation of flip  镜像操作出现异常错误 失败 

//SciResample
#define SCI_ERR_EXCEPTION_RESIZE                            20209001					 //failed in resize		调整大小失败

//SciEdgeEnhance
#define SCI_ERR_EXCEPTION_BLUR                              20210100                     //Blur exception	blur滤波异常

//SciEqualizeHist
#define SCI_ERR_EQUALIZEHIST_MEMORY                        20211000						 //EqualizeHist out of memory 内存不足
#define SCI_ERR_EQUALIZEHIST_ARRAYBOUND                    20211001						 //EqualizeHist array bound 图像访问越界

//SciFilter
#define SCI_ERR_FILTER_GAUSSIAN_Exception                   20212000                     //Filter Gaussian exception          高斯滤波异常
#define SCI_ERR_FILTER_MEDIAN_Exception                     20212001                     //Filter Median exception            中值滤波异常
#define SCI_ERR_FILTER_MEAN_Exception                       20212002                     //Filter Mean exception              均值滤波异常
#define SCI_ERR_FILTER_SOBELAMP_Exception                   20212005                     //Filter SobelAmplitude exception    SobelAmplitude滤波异常
#define SCI_ERR_FILTER_LAPLACE_Exception                    20212006                     //Filter Laplace exception           Laplace滤波异常
#define SCI_ERR_FILTER_CANNY_Exception                      20212007                     //Filter Canny exception             Canny滤波异常
#define SCI_ERR_FILTER_ROBERTS_Exception                    20212008                     //Filter Roberts exception           Roberts滤波异常
#define SCI_ERR_FILTER_PREWITT_Exception                    20212009                     //Filter Prewitt exception           Prewitt滤波异常
#define SCI_ERR_FILTER_CUSTOM_Exception                     20212010                     //Filter CustomFilter exception      自定义滤波异常

//SciBrightness
#define SCI_ERR_BRIGHTNESS_BRIGHTNESS_MEMORY                20213100                     //Brightness out of memory, 亮度调节内存不足
#define SCI_ERR_BRIGHTNESS_CONTRAST_MEMORY                  20213101                     //contrast out of memory，对比度调节内存不足
#define SCI_ERR_BRIGHTNESS_GAMMA_MEMORY                     20213102                     //gamma out of memory，伽马调节内存不足
#define SCI_ERR_BRIGHTNESS_BRIGHTNESS_ARRAYBOUND            20213103                     //Brightness array bound，亮度调节图像访问越界
#define SCI_ERR_BRIGHTNESS_CONTRAST_ARRAYBOUND              20213104                     //contrast array bound，对比度调节图像访问越界
#define SCI_ERR_BRIGHTNESS_GAMMA_ARRAYBOUND                 20213105                     //gamma array bound，伽马调节图像访问越界

//SciACE
#define SCI_ERR_ACE_INTERP_MEMORY                           20214100                     //ACE Interp method out of memory, Interp方法内存不足
#define SCI_ERR_ACE_INTERP_ARRAYBOUND                       20214101                     //ACE Interp method array bound， Interp方法访问越界
#define SCI_ERR_ACE_POLY_MEMORY                             20214102                     //ACE poly method out of memory, poly方法内存不足
#define SCI_ERR_ACE_POLY_ARRAYBOUND                         20214103                     //ACE Interp method array bound， poly方法访问越界

//SciRotationShift
#define SCI_ERR_ROTATESHIFT_MEMORY                          20215100                     //RotationShift out of memory 内存不足 
#define SCI_ERR_ROTATESHIFT_ROTATE_CRASH                    20215101                     //RotationShift rotationSift crash 旋转崩溃
#define SCI_ERR_ROTATESHIFT_SHIFT_CRASH                     20215102                     //RotationShift Shift crash 平移崩溃

//SciColorThreshold
#define SCI_ERR_COLORTHRESH_CATCH_CVTCOLOR_FAILED	        20216101				     //CvtColor catch abnormal. 颜色空间转换异常
#define SCI_ERR_COLORTHRESH_CATCH_THRESHOLD_FAILED			20216102				     //Threshold catch abnormal.二值化转换异常
#define SCI_ERR_COLORTHRESH_CATCH_GETCOLORMAP_FAILED		20216103				     //Get colormap catch abnormal.获取颜色空间图像异常
#define SCI_ERR_COLORTHRESH_CATCH_EXTRACTCOLORS_FAILED		20216104				     //Extract colors catch abnormal.颜色提取异常
#define SCI_ERR_COLORTHRESH_CATCH_COMBINECOLORS_FAILED		20216105				     //Combine colors catch abnormal.颜色合并异常
#define SCI_ERR_COLORTHRESH_CATCH_GETCOLORCUBEMESH_FAILED	20216106				     //Get colorcubemesh catch abnormal.RGB颜色空间立方体获取异常



//SciImageCropping
#define  SCI_ERR_IMAGECROPPING_EXCEPTION_1                        20217100                //Exception 1 failing to extract SCI_ROI_RECT1 ROI image  异常1提取SCI_ROI_RECT1 ROI图像失败
#define  SCI_ERR_IMAGECROPPING_EXCEPTION_2                        20217101                //Exception 2 failing to extract SCI_ROI_RECT2 ROI image  异常2提取SCI_ROI_RECT2 ROI图像失败
#define  SCI_ERR_IMAGECROPPING_EXCEPTION_3                        20217102                //Exception 3 failing to extract SCI_ROI_TORRUS ROI image 异常3提取SCI_ROI_TORRUS ROI图像失败

//SciLUTSetting
#define  SCI_ERR_LUTSETTING_CATCH_COLORNRMMAP_FAILED			20218101		// Failed to color normal map	获取法向量彩色渲染图失败				
#define  SCI_ERR_LUTSETTING_CATCH_COLORBLEND_MEMORY_FAILED		20218102		// Failed to allocate color blend memory	颜色融合申请内存失败
#define  SCI_ERR_LUTSETTING_CATCH_COLORBLEND_FAILED				20218103		// Failed to color blend	颜色融合失败
#define  SCI_ERR_LUTSETTING_CATCH_MINMAX_FAILED					20218104		// Failed to find min/max value		获取高度值的最大最小值失败
#define  SCI_ERR_LUTSETTING_CATCH_COLORMAPLUT_FAILED			20218105		// Failed to color lut map		获取彩色渲染图失败
#define  SCI_ERR_LUTSETTING_CATCH_COLORMAPLUT_MEMORY_FAILED		20218106		// Failed to allocate color lut map memory		 获取彩色渲染图申请内存失败
#define  SCI_ERR_LUTSETTING_CATCH_SETCOLORLUT_MEMORY_FAILED		20218107		// Failed to allocate color lut memory		源图像渲染图申请内存失败
#define  SCI_ERR_LUTSETTING_CATCH_SETCOLORLUT_FAILED			20218108		// Failed to color lut		源图像获取彩色渲染图失败
#define  SCI_ERR_LUTSETTING_REGIONARR_ERROR                     20218109		// Region array is error 输入的SciRegionArray错误

//SciShadingCorrection
#define SCI_ERR_SHADINGCOR_GET_RECT_INFO 							20219001 		//Failed to obtain the largest enclosing rectangle of ROI.					无法获取ROI的最大外接矩形
#define SCI_ERR_SHADINGCOR_PRE_HANDLING 							20219002 		//Pre-handling catch abnormal.												预处理捕获异常
#define SCI_ERR_SHADINGCOR_SHADING_RECT_HANDLING 					20219003 		//Shading correction in rect ROI catch abnormal.							矩形ROI中进行阴影校正捕获异常
#define SCI_ERR_SHADINGCOR_SEARCH_MEDIAN_RECT_HANDLING 				20219004 		//Failed to search median value in rect ROI.								无法在矩形ROI中搜索中值
#define SCI_ERR_SHADINGCOR_SEARCH_MEAN_RECT_HANDLING 				20219005 		//Failed to search mean value in rect ROI.									无法在矩形ROI中搜索均值
#define SCI_ERR_SHADINGCOR_CORRECTION_RECT_HANDLING 				20219006 		//Median correction or mean correction in rect ROI catch abnormal.			矩形ROI中进行中值校正或均值校正捕获异常
#define SCI_ERR_SHADINGCOR_ROITOPIXEL_ARRAY_FAIL 					20219007 		//Failed to convert ROI to pixelArray.										无法将ROI区域像素转换为像素数组
#define SCI_ERR_SHADINGCOR_SHADING_UNRECT_HANDLING 					20219008 		//Shading correction in unrect ROI catch abnormal.							非矩形ROI中进行3D阴影校正捕获异常
#define SCI_ERR_SHADINGCOR_SEARCH_MEDIAN_UNRECT_HANDLING 			20219009 		//Failed to search median value in unrect ROI.								无法在非矩形ROI中搜索中值
#define SCI_ERR_SHADINGCOR_SEARCH_MEAN_UNRECT_HANDLING 				20219010 		//Failed to search mean value in unrect ROI.								无法在非矩形ROI中搜索均值
#define SCI_ERR_SHADINGCOR_CORRECTION_UNRECT_HANDLING 				20219011 		//Median correction or mean correction in unrect ROI catch abnormal.		非矩形ROI中进行中值校正或均值校正捕获异常
#define SCI_ERR_SHADINGCOR_ROIIMAGEEXTRACTION_FAIL					20219012		//Extract ROI image catch abnormal.											获取ROI异常

//SciHDR
#define  SCI_ERR_IMAGE_NUMBER                    20220001          //The number of images is not correct	图像数量不正确
#define  SCI_ERR_PARAMETER_MISMATCH              20220002          //Image and time mismatch				图像和时间不匹配	
#define  SCI_ERR_INCONFORMITY					 20220003            //Image size inconsistencies			图像大小不一致



//SciFreeFormMorphing
#define  SCI_ERR_FREEFORMMORPHING_ALLPOINTS_EQUAL                   20221001          //The points of pointArrayBefore cannot be all the same        点数组中点不能全相同


//2D算法定位以203开头
//SciFindPoint
#define SCI_ERR_FINDPOINT_FAILED                                    20301001                                    //Can not find point                   未找到点
#define SCI_ERR_FINDPOINT_GETGRADIENT_FAILED                        20301002                                    //Can not get gradient                 无法获取梯度幅值
#define SCI_ERR_FINDPOINT_REGION_COVERS_ROI							20301003		     						//region covers ROI 				   region完全覆盖了ROI
#define SCI_ERR_FINDPOINT_EXCEPTION1                                20301101                                    //Find point exception1                找点异常1
#define SCI_ERR_FINDPOINT_EXCEPTION2                                20301102                                    //Find point exception2                找点异常2
#define SCI_ERR_FINDPOINT_EXCEPTION3                                20301103                                    //Find point exception3                找点异常3


//SciFindLine
#define SCI_ERR_FITLINE_FAILED                              20302001                       //Found less than 2 points, fitting failure	搜索少于2点，拟合失败
#define SCI_ERR_FINDLINE_CATCH_DRAWREGION_FAILED            20302002                       //Draw region catch abnormal					绘制区域异常
#define SCI_ERR_FINDLINE_CATCH_FINDPOINT_FAILED             20302003                       //Find point catch abnormal					找点异常
#define SCI_ERR_FINDLINE_CATCH_FITLINE_FAILED               20302004                       //Fit line catch abnormal					拟合线异常
#define SCI_ERR_FINDLINE_CATCH_RANSAC_FAILED                20302005                       //Ransac catch abnormal						Ransac异常
#define SCI_ERR_FINDLINE_CATCH_GETGRADIENT_FAILED           20302006                       //Can not get gradient						无法获取梯度幅值
#define SCI_ERR_FINDLINE_REGION_COVERS_ROI					20302007                       //region covers ROI 							region完全覆盖了ROI



//SciFindCircle
#define SCI_ERR_FITCIRCLE_FAILED                            20303001                       //Found less than 3 points, fitting failure				搜索少于3点，拟合圆失败
#define SCI_ERR_FINDCIRCLE_CATCH_DRAWREGION_FAILED          20303002                       //Draw region catch abnormal		绘制区域异常
#define SCI_ERR_FINDCIRCLE_CATCH_FINDPOINT_FAILED           20303003                       //Find point catch abnormal		找点异常
#define SCI_ERR_FINDCIRCLE_CATCH_FITCIRCLE_FAILED           20303004                       //Fit Circle catch abnormal		拟合圆异常
#define SCI_ERR_FINDCIRCLE_CATCH_GETGRADIENT_FAILED         20303005                       //Can not get gradient			无法获取梯度幅值
#define SCI_ERR_FINDCIRCLE_POINTS_NUM                       20303006					   //The number of points is wrong  找不到点
#define SCI_ERR_FINDCIRCLE_REGION_COVERS_ROI                20303007		     		   //region covers ROI 				region完全覆盖了ROI

//SciGreyMatch
#define SCI_ERR_GREY_INVALID_TEMPIMG              			20305001          	 //No valid template						模板图无效
#define SCI_ERR_NO_TEMPIMG                        			20305002          	 //template is empty						模板图为空
#define SCI_ERR_GREY_PYRAMIDLEVEL_OVERLARGE       			20305003          	 //PyramidLevel is overlarge				金字塔级别过大
#define SCI_ERR_GREY_NO_MATCH                     			20305004          	 //No Match,match failure					匹配失败
#define SCI_ERR_GREY_TOP_NO_MATCH                           20305005			 //Top layer no match 						顶层匹配失败			
#define SCI_ERR_GREY_LOW_NO_MATCH							20305006			 //Lower layer no match  					底层匹配失败
#define SCI_ERR_GREY_CATCH_BUILD_TEMPLATE_PYRAMID_FAILED	20305007			 //build template pyramid catch abnormal	构建模板图金子塔异常
#define SCI_ERR_GREY_CATCH_BUILD_IMAGE_PYRAMID_FAILED		20305008			//build image pyramid catch abnormal		构建图像金字塔异常
#define SCI_ERR_GREY_CATCH_LOW_MATCH_FAILED					20305009            //lower layer match catch abnormal			顶层匹配异常
#define SCI_ERR_GREY_CATCH_LOW_FILTER_FAILED				20305010			//lower layer filter catch abnormal   		顶层过滤异常
#define SCI_ERR_GREY_CATCH_ORG_MATCH_FAILED					20305011			//org match catch abnormal					原始图像匹配捕获异常
#define SCI_ERR_GREY_CATCH_ORG_FILTER_FAILED				20305012			//org filter catch abnormal					原始图像滤波异常
#define SCI_ERR_GREY_CATCH_INTERPX_FAILED					20305013			//result interpolationX catch abnormal		内插X值捕获异常
#define SCI_ERR_GREY_CATCH_INTERPY_FAILED					20305014			//result interpolationY catch abnormal		内插Y值捕获异常
#define SCI_ERR_GREY_CATCH_INTERPA_FAILED					20305015			//result interpolationA catch abnormal		内插A值捕获异常


//SciContourMatch
#define SCI_ERR_CMATCH_EMPTY_TEMPLATE              					20306001          	 //template is empty							模板图为空
#define SCI_ERR_CMATCH_PARA_CREATE                 					20306002          	 //Input parameters of training template is wrong.创建模板输入参数错误
#define SCI_ERR_CMATCH_PARA_MATCH                  					20306003          	 //Input parameters of matching is wrong.		匹配输入参数错误
#define SCI_ERR_CMATCH_INVALID_CONTOUR             					20306004          	 //No invalid contour for matching				未找到合适的轮廓
#define SCI_ERR_CMATCH_PYRAMIDLEVEL_OVERLARGE      					20306005			 //The number of pyramid level is overlarge		金字塔层数取值过大
#define SCI_ERR_CMATCH_CONTOUR_LENGTH              					20306006          	 //Input values of minimum or maximum length of contours are wrong.		轮廓的最小或最大长度输入值错误
#define SCI_ERR_CMATCH_NO_CONTOURS                 					20306007          	 //Can not find contours in the image			图像中未找到轮廓
#define SCI_ERR_CMATCH_NO_MATCH                    					20306008          	 //No Match,match failure						匹配失败
#define SCI_ERR_CMATCH_TOP_NO_MATCH                         		20306009             //Top layer no match 							顶层匹配失败
#define SCI_ERR_CMATCH_LOW_NO_MATCH                         		20306010             //Lower layer no match  						底层匹配失败
#define SCI_ERR_CMATCH_GET_MASK                             		20306011             //Get mask failed								获取mask失败
#define SCI_ERR_CMATCH_BUILD_IMAGE_CONTOURPYRMID_FAILED     		20306012             //Build template and contour pyramid falied	构建模板图和轮廓金字塔失败
#define SCI_ERR_CMATCH_CATCH_BUILD_TEMPLATE_FAILED          		20306013            // Build template catch abnormal				模板采样异常
#define SCI_ERR_CMATCH_CATCH_BUILD_TEMPLATE_TOPINFO_FAILED 			20306014            //Build template topinfo catch abnormal			创建模板顶层获取异常
#define SCI_ERR_CMATCH_CATCH_BUILD_TEMPLATE_LOWINFO_FAILED  		20306015            //Build template lowinfo catch abnormal 		创建模板低层获取异常
#define SCI_ERR_CMATCH_CATCH_BUILD_IMAGEPYRMID_FAILED       		20306016            //Build image pyramid catch abnormal			构建图像金字塔异常
#define SCI_ERR_CMATCH_CATCH_LOW_MATCH_FAILED						20306017			//Low layer match catch abnormal				低层级匹配异常
#define SCI_ERR_CMATCH_CATCH_LOW_FILTER_FAILED						20306018			//Low layer filter catch abnormal				低层级滤波异常
#define SCI_ERR_CMATCH_CATCH_ORG_MATCH_FAILED						20306019            //origin image match catch abnormal				原始图像匹配捕获异常
#define SCI_ERR_CMATCH_CATCH_ORG_FILTER_FAILED						20306020			//origin image filter catch abnormal			原始图像滤波异常
#define SCI_ERR_CMATCH_CATCH_CALGRAD_FAILED							20306021			//grad cal catch abnormal						梯度运算异常
#define SCI_ERR_CMATCH_CATCH_INTERPX_FAILED							20306022			//interpolatrion X catch abnormal				内插X值异常
#define SCI_ERR_CMATCH_CATCH_INTERPY_FAILED							20306023			//interpolatrion Y catch abnormal				内插Y值异常
#define SCI_ERR_CMATCH_CATCH_INTERPA_FAILED							20306024			//interpolatrion A catch abnormal				内插A值异常



//SciFeatureMatch
#define SCI_ERR_FEATURE_NO_TEMPLATE					   		20307001          	//template is empty									模板图为空
#define SCI_ERR_FEATURE_EMPTY_MATCH_INPUT		       		20307002          	//Matching image is empty							匹配图为空
#define SCI_ERR_FEATURE_PARAMETER_DETECTOR			   		20307003          	//Feature point extractor index parameter error		特征点检测器索引参数错误
#define SCI_ERR_FEATURE_PARAMETER_DESCRIPTOR		   		20307004          	//Descriptor Builder index parameter error		 	描述符生成器索引参数错误
#define SCI_ERR_FEATURE_NO_ENOUGH_FEATURES		       		20307005          	//There is not enough feature points				特征点不足
#define SCI_ERR_FEATURE_NO_ENOUGH_MATCHES			   		20307006          	//There is not enough matching points				匹配点不足
#define SCI_ERR_FEATURE_NO_MATCH_RESULT				   		20307007          	//No Match,match failure							匹配失败
#define SCI_ERR_FEATURE_CAN_NOT_PASS_CHECK			   		20307008          	//Not through the re-examination					未通过复检
#define SCI_ERR_FEATURE_MEMORY_OUT					        20307009			//Memory is not enough								内存不足
#define SCI_ERR_FEATURE_FILE_STARTEND_NOT_MATCH				20307010			//File format error 								文件格式错误
#define SCI_ERR_FEATURE_FILE_OPEN_FAILED					20307011			//Failed to open file 								打开文件失败
#define SCI_ERR_FEATURE_FILE_SAVE_FAILED					20307012			//Failed to Save file								文件保存失败

//异常抛出
#define SCI_ERR_FEATURE_EXCEPTIONS_FINDDETECTOR				20307101     		//Abnormal feature points		特征点提取异常
#define SCI_ERR_FEATURE_EXCEPTIONS_FINDDESCRIPTOR			20307102     		//Abnormal feature descriptors	特征描述符计算异常
#define SCI_ERR_FEATURE_EXCEPTIONS_MATCH					20307103     		//Abnormal match	匹配异常
#define SCI_ERR_FEATURE_EXCEPTIONS_MATOUTBOUNDS	       	 	20307104     		//Matrix out of bounds	矩阵越界
#define SCI_ERR_FEATURE_EXCEPTIONS_FILEREAD             	20307105     		//Read XML catch abnormal	读取XML文件异常
#define SCI_ERR_FEATURE_EXCEPTIONS_FILEWRITE            	20307106     		//Write XML catch abnormal	写XML文件异常

//SciColorMatch
#define SCI_ERR_COLORMATCH_EMPTY_TEMPLATE                   20308001             	//template is empty					模板图为空
#define SCI_ERR_COLORMATCH_NO_MATCH                         20308002              	//No Match,match failure			匹配失败
#define SCI_ERR_COLORMATCH_INVALID_TEMPIMG                  20308003              	//No valid template					模板无效
#define SCI_ERR_COLORMATCH_TEMPLATE_DISPLAY_FAILED          20308004               	//Display template catch abnormal	模板显示异常
#define SCI_ERR_COLORMATCH_BUILD_TEMPLATEPYRAMID_FAILED     20308005                //Build template catch abnormal		生成模板异常
#define SCI_ERR_COLORMATCH_SAMPLING_TEMPLATE_FAILED         20308006                //Sampling template catch abnormal	模板采样异常
#define SCI_ERR_COLORMATCH_BUILD_IMAGEPYRAMID_FAILED        20308007                 //Build image pyramid catch abnormal构建图像金字塔捕获异常
#define SCI_ERR_COLORMATCH_TOP_MATCH_FAILED                 20308008                 //Top layer match catch abnormal	高层级匹配捕捉异常
#define SCI_ERR_COLORMATCH_PYRAMID_MATCH_FAILED             20308009                 //Pyramid match catch abnormal		金字塔匹配异常
#define SCI_ERR_COLORMATCH_FILTER_POSITION_FAILED           20308010                 //Filter position catch abnormal	过滤器位置异常
#define SCI_ERR_COLORMATCH_LOW_MATCH_FAILED					20308011                 //Low layer match catch abnormal	低层级匹配捕捉异常


//SciHoughLines
#define  SCI_ERR_HOUGHLINE_NO_SUITABLE_LINE              	    20309001           	 //Can't find suitable line.							找不到合适的线	
#define  SCI_ERR_HOUGHLINES_CATCH_MEMORY_LEAK					20309002             //The image is too large causing a memory leak			图像太大，不支持找线操作
#define  SCI_ERR_HOUGHLINES_CATCH_FAILED_SHOWDIALOG				20309003             //Failed to show dialog								无法显示对话窗口
#define  SCI_ERR_HOUGHLINES_CATCH_FINDLINE_FAILED				20309004             //Failed to find line									找线失败
#define  SCI_ERR_HOUGHLINES_CATCH_NO_GETPOINTS					20309005             //Failed to get houghline Points						无法获取霍夫直线的点	
#define  SCI_ERR_HOUGHLINES_CATCH_FAILED_GETROIIMAGE			20309006             //Failed to get ROI Image								获取ROI失败



//SciHoughCircles
#define  SCI_ERR_HOUGHCIRCLES_NO_SUITABLE_CIRCLE            20310001             //Can't find suitable circle.						未能找到合适的圆	
#define  SCI_ERR_HOUGHCIRCLES_CATCH_MEMORY_LEAK             20310002             //The image is too large causing a memory leak		图像太大，不支持找圆操作
#define  SCI_ERR_HOUGHCIRCLES_CATCH_FAILED_SHOWDIALOG       20310003             //Failed to show dialog							无法显示对话框
#define  SCI_ERR_HOUGHCIRCLES_CATCH_FAILED_FINDCIRCLE       20310004             //Failed to find circle							找圆失败
#define  SCI_ERR_HOUGHCIRCLES_CATCH_FAILED_GETROIIMAGE      20310005             //Failed to get ROI Image							获取ROI失败



//SciROIAlignment
#define  SCI_ERR_SCIROIALGNMENT_CATCH_FAILED_GENMATRIX         20311001          //Failed to generate matrix						无法生成矩阵
#define  SCI_ERR_SCIROIALGNMENT_CATCH_FAILED_COMPOSEMATRIX     20311002          //Failed to calculate the multiplication of matrix	无法计算矩阵的乘法
#define  SCI_ERR_SCIROIALGNMENT_CATCH_ALIGNMENT_FAILED         20311003          //Failed to complete the alignment operation		未完成补正操作
#define  SCI_ERR_SCIROIALGNMENT_CATCH_PROJECTION_FAILED        20311004          //Failed to complete the projection operation		未完成轮廓映射操作
#define  SCI_ERR_SCIROIALGNMENT_CATCH_FAILED_GENMATRIX_3D      20311005          //Failed to generate 3D_matrix						未完成3D补正矩阵计算操作



//SciScaleShapeMatch
#define SCI_ERR_SCALESHAPE_EMPTY_TEMPLATE                            20313001            //template is empty			模板图为空
#define SCI_ERR_SCALESHAPE_NO_MATCH                                  20313002            //No Match,match failure		匹配失败
#define SCI_ERR_SCALESHAPE_INVALID_TEMPIMG                           20313003            //No valid template			模板图无效
#define SCI_ERR_SCALESHAPE_PYRAMIDLEVEL_OVERLARGE                    20313004            //Pyramid level is over large	金字塔层数取值过大
#define SCI_ERR_SCALESHAPE_EMPTY_MATCH_INPUT                         20313005            //Matching image is empty		匹配图为空
#define SCI_ERR_SCALESHAPE_CATCH_CREATE_MODELS_FAILED                20313006            //Build template catch abnormal		创建模板异常	
#define SCI_ERR_SCALESHAPE_CATCH_TEMPLATE_EXTRACT_FEATURES_FAILED    20313007            //Extract features of template abnormal		模板特征提取异常
#define SCI_ERR_SCALESHAPE_CATCH_SRC_EXTRACT_FEATURES_FAILED         20313008            //Extract features of srouce image abnormal	原图特征提取异常
#define SCI_ERR_SCALESHAPE_CATCH_FIND_TOP_LEVEL_MATCH_FAILED         20313009            //Top layer match catch abnormal				顶层匹配异常
#define SCI_ERR_SCALESHAPE_CATCH_FILEWRITE                           20313010            //Write XML catch abnormal						写入XML文件异常
#define SCI_ERR_SCALESHAPE_CATCH_MATCH_FAILED                        20313011            //Match catch abnormal							匹配异常
#define SCI_ERR_SCALESHAPE_CATCH_STORAGE_NOT_ENOUGH                  20313012            //Read XML catch abnormal						读取XML文件异常


//2D算法测量以204开头                                          
//SciGeometryMeasure
#define  SCI_ERR_MEASURE_NOT_PARALLEL                          20401001             //The two lines are not parallel					两条直线不平行
#define  SCI_ERR_MEASURE_COLLINEATION                          20401002             //Sevaral line or sevaral points collonear			直线共线
#define  SCI_ERR_MEASURE_PARALLEL                              20401003             //Two parallel lines								两条平行线
#define  SCI_ERR_MEASURE_INVALID_LINE                          20401004             //Unreasonable two points that make up a straight line	构成一条线的不规则的两点
#define  SCI_ERR_MEASURE_SHAPE_COINCIDE                        20401005             //two shape coincide								两个形状重合
#define  SCI_ERR_MEASURE_NO_VALID_RESULT                       20401006             //no valid result									无结果
#define  SCI_ERR_MEASURE_CATCH_COMPLETE_PROJECTION_FAILED      20401007             //failed to complete the projection					无法完成投影
#define  SCI_ERR_MEASURE_CATCH_ROTATION_ANGLE_FAILED           20401008             //failed to get the rotation angle					无法获取旋转角度
#define  SCI_ERR_MEASURE_CATCH_COMPLETE_ANGLE_FAILED           20401009             //failed to complete the angle						无法完成角度
#define  SCI_ERR_MEASURE_CATCH_FIT_ELEMENT_FAILED                 20401010             //failed to complete the fitting elements		无法拟合元素
#define  SCI_ERR_MEASURE_CATCH_DISTANCE_BETWEEN_ELEMENTS_FAILED   20401011             //failed to get the distance between elements	无法获取两个元素的向量
#define  SCI_ERR_MEASURE_GET_INTERSECTION_BETWEEN_ELEMENTS_FAILED 20401012             //failed to get Intersection between elements	无法获取两个元素的交叉点
#define  SCI_ERR_MEASURE_EXRETNALCIRCLE_FAILED                    20401013             //failed to get the External Circle				无法获取外接圆
#define  SCI_ERR_MEASURE_INCISIONCIRCLE_FAILED                    20401014             //failed to get the Incision Circle				无法获取内切圆



//SciIntensityMeasurement
#define  SCI_ERR_MEASUREINTENSITY_CALCU_HISTOM_8U_UNDEF_ROI     20402100      //fail calculating histgram for 8U image in undefined ROI		//8位图像未定义ROI直方图统计异常
#define  SCI_ERR_MEASUREINTENSITY_CALCU_HISTOM_16U_UNDEF_ROI    20402101      //fail calculating histgram for 16U image in undefined ROI	//16位图像未定义ROI直方图统计异常
#define  SCI_ERR_MEASUREINTENSITY_CALCU_HISTOM_8U_RECT2_ROI     20402102      //fail calculating histgram for 8U image in RECT2 ROI			//8位图像斜矩形ROI直方图统计异常
#define  SCI_ERR_MEASUREINTENSITY_CALCU_HISTOM_16U_RECT2_ROI    20402103      //fail calculating histgram for 16U image in RECT2 ROI		//16位图像斜矩形ROI直方图统计异常
#define  SCI_ERR_MEASUREINTENSITY_THRESHOLD_OUTSIDE_THE_RANGE   20402104      //threshold is reasonable, but no pixels in the range			阈值合理，但其范围内没有符合条件的像素点


//SciMeasureColors
#define  SCI_ERR_MEASURECOLORS_BGR_TO_HLS_FAILED                        20403100                   //failing the image type to HLS // BGR图像转HLS图像失败
#define  SCI_ERR_MEASURECOLORS_BGR_TO_HSV_FAILED                        20403101                   //failing the image type to HSV // BGR图像转HSV图像失败
#define  SCI_ERR_MEASURECOLORS_BGR_TO_HSI_FAILED                        20403102                   //failing the image type to HSI // BGR图像转HSI图像失败

//SciFindPitch 
#define SCI_ERR_FINDPITCH_FAIL                              20404001                    //Find pitch failed				找间隙失败
#define SCI_ERR_FINDPITCH_GET_RESULT_FAIL                   20404002                    //Get result failed				获取结果失败
#define SCI_ERR_FINDPITCH_CATCH_DRAWREGION_FAILED           20404003                    //Draw region catch abnormal	绘制区域异常
#define SCI_ERR_FINDPITCH_CATCH_FINDPOINT_FAILED            20404004                    //Find point catch abnormal		找点异常
#define SCI_ERR_FINDPITCH_CATCH_GETGRADIENT_FAILED          20404005                    //Can not get gradient			无法获取梯度幅值
#define SCI_ERR_FINDPITCH_REGION_COVERS_ROI                 20404006		     		//region covers ROI 			region完全覆盖了ROI


//SciCaliper
#define SCI_ERR_CALIPER_POINT_TYPE                          20406001                   //Edge point type error				边缘点类型错误
#define SCI_ERR_CALIPER_FIT_POINTS                          20406002                   //Point fitting error				点拟合错误
#define SCI_ERR_CALIPER_POINTS_NUM                          20406003                   //The number of points is wrong		点数错误
#define SCI_ERR_CALIPER_FIND_POINT                          20406004                   //Finding points failed				找点失败
#define SCI_ERR_CALIPER_POINT_COUNT                         20406005                   //The fitting point number is error	拟合点数错误
#define SCI_ERR_CALIPER_PARALLEL                            20406006                   //The lines found are not parallel	线不平行
#define SCI_ERR_CALIPER_CATCH_DRAWREGION_FAILED             20406007                   //Draw region catch abnormal			绘制区域异常
#define SCI_ERR_CALIPER_FINDPOINT_FAILED                    20406008                   //Find point catch abnormal			找点异常
#define SCI_ERR_CALIPER_FITLINE_FAILED                      20406009                   //Fit line catch abnormal			拟合线异常
#define SCI_ERR_CALIPER_COINCIDE							20406010                   //The two lines coincide				两条线重合
#define SCI_ERR_CALIPER_CATCH_GETGRADIENT_FAILED            20406011                   //Can not get gradient				无法获取梯度幅值
#define SCI_ERR_CALIPER_REGION_COVERS_ROI					20406012				   //region covers ROI 					region完全覆盖了ROI


	
//2D算法检测以205开头                                          
//SciContourExtraction                                           
#define  SCI_ERR_CONTOUR_NOEDGE				       			20501001		        	 //Can not find edge				未找到边缘
#define  SCI_ERR_CONTOUR_CATCH_GradImage_FAILED				20501002		        	 //GradImage catch abnormal			检测边缘梯度图像异常
#define  SCI_ERR_CONTOUR_CATCH_NMS_FAILED				    20501003		        	 //NMS catch abnormal				NMS异常
#define  SCI_ERR_CONTOUR_CATCH_NMS2_FAILED				    20501004		        	 //NMS2 catch abnormal				NMS2异常
#define  SCI_ERR_CONTOUR_CATCH_ExtractJunction_FAILED		20501005		        	 //ExtractJunction catch abnormal	获取连接点时捕获异常
#define  SCI_ERR_CONTOUR_CATCH_track_FAILED				    20501006		        	 //track contour catch abnormal		轮廓跟踪异常
#define  SCI_ERR_CONTOUR_POINT_BOUNDS						20501007					 //Point out of bounds				输入点越界		


//SciContourEvaluation
#define  SCI_ERR_CONTOUREVALUATUION_FIND_EDGE               20502001                     //Can not find contour				找不到轮廓
#define  SCI_ERR_CONTOUREVALUATUION_MATCH                   20502002                     //Contour match failed				轮廓匹配失败
#define  SCI_ERR_CONTOUREVALUATUION_TEMP                    20502003                     //Failed to create templates		创建模板失败
#define  SCI_ERR_CONTOUREVALUATUION_STDCONTOUR              20502004                     //Standard contour read failed		标准轮廓读取失败



//异常
#define  SCI_ERR_CONTOUREVALUATUION_EXCEPTIONS_MATCH        20502101					 //匹配抛出异常          Match throws an exception
#define  SCI_ERR_CONTOUREVALUATUION_EXCEPTIONS_PERSPE       20502102					 //变换抛出异常          Transformation throws an exception
#define  SCI_ERR_CONTOUREVALUATUION_EXCEPTIONS_READDXF      20502103					 //读取DFX文件抛出异常   Reading the DFX file throws an exception
#define  SCI_ERR_CONTOUREVALUATUION_EXCEPTIONS_EVALUATE     20502104					 //轮廓比对抛出异常      Contour comparison throws an exception
#define  SCI_ERR_CONTOUREVALUATUION_EXCEPTIONS_TRANS        20502105					 //模板生成抛出异常      Template generation throws an exception



//SciContourContrast
#define  SCI_ERR_CONTOURCONTRAST				   			20503001			 	 //Read standard contour failed						读取标准轮廓失败
#define  SCI_ERR_CONTOURCONTRAST_COMPARISON					20503101			 	// Contour comparison throws an exception			轮廓对比抛出异常               
#define  SCI_ERR_CONTOURCONTRAST_CONTOURSIZE				20503102			 	//Calculating the Contour size throws an exception	计算轮廓尺寸抛出异常				
#define  SCI_ERR_CONTOURCONTRAST_TRANSFORM					20503103			 	//Contour transformation throws an exception		轮廓变换抛出异常				
#define  SCI_ERR_CONTOURCONTRAST_CLOSESTPOINT				20503104			 	//Calculating the closest point pair of the contour throws an exception计算轮廓最近点对抛出异常	



//SciContourOperation
#define  SCI_ERR_INTEGRATE_FAILED                                         20504001       //Contour fusion failed							轮廓融合失败
#define  SCI_ERR_CONTOUROPERATION_EMPTY_CONTOUR                           20504002		 //contour is empty									轮廓为空
#define  SCI_ERR_CONTOURRECOVERY_SELECT                                   20504003       //Select function  parameter error 				筛选函数参数错误
#define  SCI_ERR_CONTOURRECOVERY_CONTOURLEN                               20504004       //Clip function error 								轮廓剪切函数参数错误
#define  SCI_ERR_CONTOURRECOVERY_SEGMENT                           		  20504005       //Segment function parameter error 				轮廓分割函数参数错误
#define  SCI_ERR_CONTOURRECOVERY_ADJECTION                                20504006       //UniteAdjection function parameter error  		连接相近轮廓参数错误
#define  SCI_ERR_CONTOURRECOVERY_COLLINEAR                                20504007       //UniteCollinear function parameter error 			连接共线轮廓参数错误
#define  SCI_ERR_CONTOURRECOVERY_COCIRCULAR                               20504008       //UniteCocircular  function parameter error 		连接共圆轮廓参数错误
#define  SCI_ERR_CONTOURRECOVERY_SORT                                     20504009       //Sort function parameter error 					轮廓排序参数错误
#define  SCI_ERR_CONTOURRECOVERY_SMOOTH                                   20504010       //Smooth function parameter error 					轮廓平滑参数错误
#define  SCI_ERR_CONTOURRECOVERY_CLIPENDPOINTS                            20504011       //ClipEndPoints function parameter error 			切除端点参数错误
#define  SCI_ERR_CONTOURRECOVERY_ADDNOSIZE                                20504012       //AddNoise function parameter error 				添加噪声函数参数错误
#define  SCI_ERR_CONTOURRECOVERY_TRANS                                    20504013       //TransContours function parameter error 			轮廓变换函数参数错误
#define  SCI_ERR_CONTOURRECOVERY_REMOVE                                   20504014       //RemoveOverlapContour parameter error 			去重合轮廓参数错误
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_SELECT                        20504101       //Contour Select throws an exception				轮廓筛选抛出异常  
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_SEGMENT                       20504102       //Contour segmentation throws an exception 		轮廓分割抛出异常 
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_ADJECTION                     20504103       //Contour connection throws an exception 			轮廓相近连接抛出异常 
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_COLLINEAR                     20504104       //Contour collinear connection throws an exception 轮廓共线连接抛出异常      
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_COCIRCULAR                    20504105       //Contour co-circular connection throws an exception 轮廓共圆连接抛出异常     
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_SORT                          20504106       //Contour sorting throws an exception				轮廓排序抛出异常     
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_SMOOTH                        20504107       //Contour smoothing throws an exception 			轮廓平滑抛出异常          
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_CLIPENDPOINTS                 20504108       //Clip endPoints throws an exception				切除端点抛出异常         
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_ADDNOSIZE                     20504109       //Contour Add Nosize throws an exception 			轮廓添加噪声抛出异常       
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_REMOVE                        20504110       //RemoveOverlapContour  throws an exception 		融合重叠轮廓抛出异常       
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_TRANS                         20504111       //Contour transformation throws an exception 		轮廓变换抛出异常          
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_CLOSE                         20504112       //Contour closure throws an exception 				轮廓闭合抛出异常          
#define  SCI_ERR_CONTOURRECOVERY_EXCEPTIONS_CLIP                          20504113       //Contour cutting throws an exception 				轮廓剪切抛出异常       


//SciScratchDetection
#define	 SCI_ERR_SCRATCH_EMPTY_LAYERS              			20505002			 	//The parameter "layers" is empty.  layerArray中的层为空
#define  SCI_ERR_RESIZE_TOO_LARGE                           20505003				// size of resize is too large.		采样尺寸过大
#define  SCI_ERR_SCRATCH_CATCH_FILTER_FAILED				20505005				//Filter catch abnormal.			滤波捕获异常
#define  SCI_ERR_SCRATCH_CATCH_THRESHOLD_FAILED				20505006				//Threshold catch abnormal.			二值化捕获异常
#define  SCI_ERR_SCRATCH_CATCH_MORPHOLOGY_FAILED			20505007				//Morphology catch abnormal.		形态学捕获异常
#define  SCI_ERR_SCRATCH_CATCH_DETECT_FAILED				20505008				//Detect catch abnormal.			划痕捕获异常
#define  SCI_ERR_SCRATCH_CATCH_GETRESULTR_FAILED			20505009				//Get result catch abnormal.		获取结果异常
#define  SCI_ERR_SCRATCH_CATCH_GETSELECTSCRATCH_FAILED		20505010				//Get select scratch catch abnormal.  获取选择划痕异常
#define  SCI_ERR_SCRATCH_CATCH_GETONESCRATCH_FAILED			20505011				//Get one scratch catch abnormal.   获取单个划痕异常
#define  SCI_ERR_SCRATCH_CATCH_DIFFIMAGE_FAILED				20505012				//Diff image catch abnormal.		差值图捕获异常
#define  SCI_ERR_SCRATCH_DIFFIMAGE							20505013				//The size or channels of the diffImage is diffrent from the srcImage.   			差值图的分辨率或者通道与原图像不一致
#define  SCI_ERR_SCRATCH_EMPTY_GROUPS						20505014				//The parameter "groups" is empty.  layerArray中的组为空
#define  SCI_ERR_SCRATCH_EMPTY_FEATURES						20505015				//The parameter "features" is empty.  layerArray中的特征为空


//SciVariationModel
#define SCI_ERR_VARIATIONMODEL_IMGSIZE             			20506001           		//The size of test imge and model is not the same		测试图像与模板大小不一致
#define SCI_ERR_VARIATIONMODEL_NO_IMAGEFORTRIAN    			20506002				//No image for training		无训练图像
#define SCI_ERR_VARIATIONMODEL_NO_TRAIN            			20506003           		//The image does not train	图像无法训练
#define SCI_ERR_VARIATIONMODEL_PATH				   			20506004           		//Image path Or xml path is empty or error.		图像或XML文件路径为空
#define SCI_ERR_VARIATIONMODEL_ROIARR_NUM					20506005				//ROIArray length is wrong	ROI数组长度错误	
#define SCI_ERR_VARIATIONMODEL_ROIARR_TYPE					20506006				//ROIArray Type is error	ROI数组类型错误


//异常代码
#define SCI_ERR_VARIATIONMODEL_EXCEPTIONS_TRAIN             20506101        		//训练模板捕获异常             Train template catch abnormal         
#define SCI_ERR_VARIATIONMODEL_EXCEPTIONS_THRESHOLDIMG      20506102        		//计算阈值图像捕获异常             Calculated threshold image capture anomaly  
#define SCI_ERR_VARIATIONMODEL_EXCEPTIONS_COMPAREIMG        20506103        		//比对图像捕获异常             Compare Image capture anomaly  
#define SCI_ERR_VARIATIONMODEL_EXCEPTIONS_RESULTAREA        20506104        		//计算差异结果捕获异常             Calculate the difference result to catch the exception 



//SciCornerExtraction
#define  SCI_ERR_NO_EXTRACTION_CONRNER			   			20507001           	 	//Can not find corner				找不到角点
#define  SCI_ERR_NO_EXTRACTION_CATCH_CORNER_FAILED			20507002           	 	//Extract corner catch abnormal		提取角点异常
#define  SCI_ERR_NO_EXTRACTION_CATCH_FILTER_FAILED			20507003				// filter Corner  catch abnormal	角点筛选异常
#define  SCI_ERR_EXTRACTION_CORNER_CATCH_MEMORY_LEAK        20507004                //The image is too large to extract corners		图像太大，不支持角点检测


//SciEdgeDefectDetection
#define SCI_ERR_EDGEDEFECTDECTION_IVALIDEDGE                      20508001                           //Invalid edge 无效边缘
#define SCI_ERR_EDGEDEFECTDECTION_CATCH_SHOWDIALOG_FAILED         20508101                           // failured to ShowDialog catch exception 无法显示对话框捕获异常
#define SCI_ERR_EDGEDEFECTDECTION_CATCH_EXECUTE_FAILED            20508102                           //failured to Execute catch exception 无法执行Execute捕获异常
#define SCI_ERR_EDGEDEFECTDECTION_CATCH_GETEDGEPOINTS_FAILED      20508103                           //failured to GetEdgePoints catch exception 无法执行GetEdgePoints捕获异常
#define SCI_ERR_EDGEDEFECTDECTION_NOTENOUGHEDGEPOINTS             20508104                           //Not enough edge points边缘点不足
#define SCI_ERR_EDGEDEFECTDECTION_FIT_FAILED        			  20508105         	 				 //fit failed拟合失败
#define SCI_ERR_EDGEDEFECTDECTION_GET_VALUE_FAILED				  20508106         	 				 //get value failes获取数据失败


//SciBlobAnalysis
#define  SCI_ERR_BLOB_NOPREPROCESSIMAGE            			20509001           	 //You must preprocessImage before BlobAnalysis.  必须在BlobAnalysis前预处理图像为二值图
#define  SCI_ERR_BLOB_CATCH_ANALYSIS_FAILED            		20509002           	 //Analysis catch abnormal.  分析捕获异常  
#define  SCI_ERR_BLOB_CATCH_GETRESULT_FAILED            	20509003           	 //Get result catch abnormal.  获取结果捕获异常 
#define  SCI_ERR_BLOB_CATCH_GETBLOBARRAY1_FAILED            20509004           	 //Get blob array1 catch abnormal.  获取blob区域数组1捕获异常
#define  SCI_ERR_BLOB_CATCH_FINDMASKCONTOURS_FAILED         20509005           	 //Find mask contours catch abnormal. 找mask轮廓捕获异常
#define  SCI_ERR_BLOB_CATCH_GETBLOBARRAY2_FAILED            20509006           	 //Get blob array2 catch abnormal.  获取blob区域数组2捕获异常 
#define  SCI_ERR_BLOB_CATCH_GETBLOBARRAY3_FAILED            20509007           	 //Get blob array3 catch abnormal.  获取blob区域数组3捕获异常 
#define  SCI_ERR_BLOB_CATCH_GETBLOBIMAGE_FAILED             20509008           	 //Get blob image catch abnormal.   得到blob图像捕获异常
#define  SCI_ERR_BLOB_CATCH_GETBLOBFEATURE_FAILED           20509009           	 //Get blob feature catch abnormal.  得到blob特征捕获异常
#define  SCI_ERR_BLOB_CATCH_BLOBFILTER_FAILED				20509010           	 //Blob filter catch abnormal. Blob过滤捕获异常
#define  SCI_ERR_BLOB_CATCH_GETORDER1_FAILED				20509011           	 //Get order1 catch abnormal.  排序捕获异常
#define  SCI_ERR_BLOB_CATCH_GETORDER2_FAILED				20509012           	 //Get order2 catch abnormal.  组合排序捕获异常
#define  SCI_ERR_BLOB_CATCH_FEATYREOR_FAILED				20509013           	 //Feature or catch abnormal.   特征逻辑或运算捕获异常
#define  SCI_ERR_BLOB_CATCH_GETFIXFEATURE_FAILED			20509014           	 //Get fix feature catch abnormal.  特征阈值算子捕获异常
  

//SciSkeleton
#define SCI_ERR_GET_SKELETON								20510000            //Failed to get skeleton		骨架获取失败




//SciContourFeature 
#define SCI_ERR_CONTOUR_FEATURE_GET_CONTOUR_AREA_FAILED                   20511001            //Failed to get contour area  //获取轮廓面积失败
#define SCI_ERR_CONTOUR_FEATURE_GET_CONTOUR_ARCLENGTH_FAILED              20511002            //Failed to get contour arcLength  //获取轮廓周长失败
#define SCI_ERR_CONTOUR_FEATURE_GET_CONTOUR_MENCLOSING_CIRCLE_FAILED      20511003            //Failed to get contour minEnclosingCircle  //获取轮廓最小外接圆失败
#define SCI_ERR_CONTOUR_FEATURE_GET_CONTOUR_CONCAVEHULL_FAILED            20511004            //Failed to get contour ConcaveHull  //获取轮廓凹包失败



//SciGreyFeature
#define  SCI_ERR_FEATURE_POINT_MEMORY				20512100      //Insufficient memory for feature point generation		//生成特征点时内存不足
#define  SCI_ERR_FEATURE_POINT_FAILED				20512101      //Generate feature point exception	//生成特征点异常
#define  SCI_ERR_GREYFEATURE_HOG_FAILED				20512102      //failing compute HOG feature 		//Mask ROI HOG特征获取异常
#define  SCI_ERR_GREYFEATURE_GABOR_FAILED			20512103      //failing compute Gabor feature in Mask ROI	//Mask ROI Gabor特征获取异常
#define  SCI_ERR_GREYFEATURE_TEXTURELAWS_FAILED		20512104      //failing compute TextureLaws feature in Mask ROI		//Mask ROI TextureLaws特征获取异常
#define  SCI_ERR_TAMURA_FEATURE_MEMORY				20512105      //Insufficient memory for TAMURA feature generation	//纹理特征获取异常
#define  SCI_ERR_GREYFEATURE_TAMURA_FAILED			20512106      //failing compute Tamura feature		//Tamura特征获取异常
#define  SCI_ERR_MSER_FEATURE_MEMORY				20512107      //Insufficient memory for MSER feature generation	//生成最大极值稳定区域特征内存不足
#define  SCI_ERR_MSER_FEATURE						20512108      //Generate MSER feature exception								//生成最大极值稳定区域特征异常
#define  SCI_ERR_FEATURE_DESCRIPT_MEMORY 			20512109      //Insufficient memory for feature description generation					//生成特征描述内存不足
#define  SCI_ERR_FEATURE_DESCRIPT_FAILED			20512110      //Generate feature description exception				//生成特征描述异常 


//SciAutoEdgeExtraction
#define SCI_ERR_AUTO_EDGE_EXTRACTION_FAILED                 20513001            //Auto Edge Extraction  exception;		自动提取边缘轮廓异常
  

//SciCameraDetection
#define SCI_ERR_DETECTIONBADBLOCK_EXTRACTION_FAILED                            20514000                          // badBlockDetection failed;;脏污检测失败
#define SCI_ERR_DETECTIONDEADLINE_EXTRACTION_FAILED                            20514001                          // DeadLineDetection failed;坏线检测失败
#define SCI_ERR_DETECTIONDARKPIXEL_EXTRACTION_FAILED                           20514002                          // DarkPixelDetection failed;坏点检测失败
#define SCI_ERR_DETECTIONLIGHTPIXEL_EXTRACTION_FAILED                          20514003                          // LightPixelDetection failed;亮点检测失败
#define SCI_ERR_CAMERADETECTION_EXTRACTION_FAILED							   20514004                          // CameraDetection  failed;相机测试失败


//SciContourDefectDetection
#define  SCI_ERR_GUIDE_POINT_BOUNDS									20516001             //guide poin out of bounds 引导点越界
#define  SCI_ERR_GET_GLUE_TRAJECTORY_FAILED							20516002			//GetGlueTrajectory 获取胶路轨迹失败


//SciShapeExtration
#define SCI_ERR_SHAPEEXTRATION_FAILED                       20517001                 //Shape Extraction exception;                  形状提取异常


//2D算法识别以206开头
//SciOCR
#define SCI_ERR_OCR_SIZE					       				20601001			 //Label size unequal image size		标签数组和图片数组长度不等
#define SCI_ERR_OCR_INVALID_MODEL                  				20601002           	 //Invalid model						无效模型
#define SCI_ERR_OCR_CHARACTER_SEGMENT							20601003             //Character segment failed				分割失败
#define SCI_ERR_OCR_AUTOTHRESH                     				20601004           	 //There are errors in auto-threshold	自动获取阈值失败
#define SCI_ERR_OCR_CLASS_NOT_EXIST               				20601005           	 //The class does not exist				类名不存在
#define SCI_ERR_OCR_ARRAY_OVER_STACK               				20601006           	 //Array stack overflow					数组堆栈溢出
#define SCI_ERR_OCR_SAMPLESET_NULL                 				20601007           	 //Sample library is empty				样本库为空
#define SCI_ERR_OCR_DATA_INIT_FAIL								20601008			 //Pre-training model failed to load	未加载预训练模型
#define SCI_ERR_OCR_FONT_NOT_SUPPORT							20601009             //The current font is not supported	不支持当前字体

#define SCI_ERR_OCR_LOADMODEL_EXCEPTION							20601100             //OCR load model exception                加载模型异常
#define SCI_ERR_OCR_PRETRAINING_EXCEPTION_0						20601101             //Load character library exception        载入字符库异常
#define SCI_ERR_OCR_PRETRAINING_EXCEPTION_1						20601102             //Single character recognition exception  单字符识别异常
#define SCI_ERR_OCR_PRETRAINING_EXCEPTION_2						20601103             //String recognition exception            字符串识别异常
#define SCI_ERR_OCR_PREPROCCESS_EXCEPTION						20601104             //preproccess exception                   预处理异常
#define SCI_ERR_OCR_SEGMENTATION_EXCEPTION_0					20601105             //Row arrangement segmentation exception  行排列分割异常
#define SCI_ERR_OCR_SEGMENTATION_EXCEPTION_1					20601106             //Col arrangement segmentation exception  列排列分割异常
#define SCI_ERR_OCR_SEGMENTATION_EXCEPTION_2					20601107             //Out-of-order distribution segmentation exception  乱序排列分割异常
#define SCI_ERR_OCR_PRETRAINING_EXCEPTION_3						20601108			 //String recognition no result            字符串识别无结果
#define SCI_ERR_OCR_PRETRAINING_NOTSUPPORT						20601109             //Pretrain is not supported the x86 architecture    		   x86不支持预训练模式
#define SCI_ERR_OCR_RECOGNITION_EXCEPTION						20601110             //recognition exception                   识别异常
#define SCI_ERR_OCR_PRETRAINING_DLLERR							20601111              //Failed to load pretrained modelDLL 预训练模型DLL加载失败

#define SCI_ERR_OCR_REPLACECHARACTERS_EXCEPTION					20601201             //Force replacing exception       强制替换异常
#define SCI_ERR_OCR_OBFUSCATECHARACTERS_EXCEPTION				20601202             //Obfuscate characters exception  混淆字符判断异常
#define SCI_ERR_OCR_CORRECTIONPHRASE_EXCEPTION					20601203             //Phrase correction exception     词组纠错异常
#define SCI_ERR_OCR_FORCEDREPLACEMENT_RESULT_SCORE				20601204             //ForcedReplacement function result and score do not correspond 强制替换结果和分数不对应
#define SCI_ERR_OCR_FORCEDREPLACEMENT_ORICAHR_REPCHAR			20601205             //ForcedReplacement function origionallable and replacelable do not correspond 强制替换原始字符和替换字符不对应
#define SCI_ERR_OCR_PHRASECORRECTION_IMG_RESULT_SCORE			20601206             //PhraseCorrection function image and result and score do not correspond 词组纠错图片、结果和分数不对应
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_IMGARRAY_LENGTH        20601207             //Input imagearray lenth  error                          混淆字符检查输入图像数组长度有误
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_ALLIMGARRAY_LENGTH     20601208             //Input total imagearray lenth error                     混淆字符检查总输入图像数组长度有误
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_IMGARRAY_EMPTY			20601209             //There is empth image in innput imagearray              混淆字符检查输入图像数组存在空图像
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_ALLIMGARRAY_EMPTY      20601210             //There is empth image in total Input imagearray         混淆字符检查总输入图像数组存在空图像
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_IMGARRAY_CHANNEL       20601211             //There is wrong channel image in innput imagearray      混淆字符检查输入图像数组存在通道数错误图片
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_ALLIMGARRAY_CHANNEL    20601212             //There is wrong channel image in total innput imagearray混淆字符检查总输入图像数组存在通道数错误图片
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_IMG_RESULT_SCORE		20601213             //The length of image and result and score do not correspond           混淆字符检查图片和结果和分数长度不对应
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_IMGALL_LABELALL		20601214              //The length of image and label do not correspond                     混淆字符检查总图片和标签长度不对应
#define SCI_ERR_OCR_OBFUSCATEDCHARACTERS_OBC_FEA				20601215              //ObfuscatedCharacters and featureIndex do not correspond  混淆字符和特征索引不对应
#define SCI_ERR_OCR_RUNSESSION_FAIL                             20601216             //error occurred during the operation of the pretrained model  预训练模型在运行过程中发生错误（可能显存不足） 


//SciBarcode
#define SCI_ERR_BARCODE_NOT_FOUND							20602001				//Failed to find barcode 找不到条码
#define SCI_ERR_BARCODE_CATCH_Location_FAILED				20602002				//Location catch abnormal 定位捕获异常
#define SCI_ERR_BARCODE_CATCH_Decode_FAILED					20602003				//Decode catch abnormal 解码捕获异常


//SciClassifier
#define SCI_ERR_CLF_NO_MODEL_DATA                			20603001         	 //NO Model data			没有模型数据
#define SCI_ERR_CLF_NAME_VALUE_NUM							20603002         	 //Number of input feature names and values are not equal 输入的特征名称和值数量不相等
#define SCI_ERR_CLF_CLASS_NOT_EXIST              			20603003         	 //The class does not exist 这个类不存在
#define SCI_ERR_CLF_ARRAY_OVER_STACK             			20603004         	 //Array stack overflow		数组堆栈溢出
#define SCI_ERR_CLF_MODEL_FILE_OPEN							20603005         	 //Can not open model file.	无法打开模型
#define SCI_ERR_CLF_MODLE_FILE_EMPTY						20603006         	 //Model file is empty.		模型为空
#define SCI_ERR_CLF_MODLE_FILE_ERR							20603007         	 //Not a classifier model file 不是分类器模型
#define SCI_ERR_CLF_MODEL_FILE_PATH              			20603008         	 //Wrong file path			路径错误
#define SCI_ERR_CLF_SAMPLE_EMPTY							20603009         	 //No samples in model file 模型里没有样本
#define SCI_ERR_CLF_FEA_NAME_INCONSISTENT		 			20603010         	 //Input features are inconsistent with those in model file.输入特征与模型的特征不一致。
#define SCI_ERR_CLF_CLASS_STR_EMPTY							20603011         	 //The string needs to be parsed is empty.需要解析的字符串为空。
#define SCI_ERR_CLF_SEP_CHAR			         			20603012         	 //Separator is unqualified 分割字符错误
#define SCI_ERR_CLF_CLASS_EXIST								20603013             //The class already exist	类已经存在
#define SCI_ERR_CLF_LOADMODEL_EXCEPTION                  	20603101      		 //load model exception，加载模型异常
#define SCI_ERR_CLF_TRAIN_EXCEPTION                    		20603102      		 //train exception，训练异常
#define SCI_ERR_CLF_CLASSIFY_EXCEPTION                   	20603103     		 //classify exception，分类异常


//SciMatrixCode
#define SCI_ERR_2DCODE_MATRIX_DECODE					 				20604001						   //Failed decode matrix code  找不到二维码
#define SCI_ERR_2DCODE_VERICODE_LICENSE			     					20604002						   //NO VeriCode License        没有VeriCode许可证
#define SCI_ERR_2DCODE_TIMEOUT_INTERRUPT			     				20604003 						   //TimeOut Interrupt          超时中断
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_0                            20604100                           //QR detect exception 0      QR定位异常0
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_1                            20604101                           //QR detect exception 1      QR定位异常1      
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_2                            20604102                           //QR detect exception 2      QR定位异常2 
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_3                            20604103                           //QR detect exception 3      QR定位异常3 
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_4                            20604104                           //QR detect exception 4      QR定位异常4 
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_5                            20604105                           //QR detect exception 5      QR定位异常5 
#define SCI_ERR_2DCODE_QR_DETECT_EXCEPTION_6                            20604106                           //QR detect exception 6      QR定位异常6
#define SCI_ERR_2DCODE_QR_SEGMENT_EXCEPTION_0                           20604107                           //QR segment exception 0     QR段异常0
#define SCI_ERR_2DCODE_QR_SEGMENT_EXCEPTION_1                           20604108                           //QR segment exception 1     QR段异常1
#define SCI_ERR_2DCODE_QR_SEGMENT_EXCEPTION_2                           20604109                           //QR segment exception 2     QR段异常2
#define SCI_ERR_2DCODE_QR_DECODE_EXCEPTION_0                            20604110                           //QR decode exception 0      QR解码异常0
#define SCI_ERR_2DCODE_QR_DECODE_EXCEPTION_1                            20604111                           //QR decode exception 1      QR解码异常1
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_0                            20604200                           //DM detect exception 0      DM定位异常0
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_1                            20604201                           //DM detect exception 1      DM定位异常1
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_2                            20604202                           //DM detect exception 2      DM定位异常2
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_3                            20604203                           //DM detect exception 3      DM定位异常3
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_4                            20604204                           //DM detect exception 4      DM定位异常4
#define SCI_ERR_2DCODE_DM_DETECT_EXCEPTION_5                            20604205                           //DM detect exception 5      DM定位异常5
#define SCI_ERR_2DCODE_DM_SEGMENT_EXCEPTION_0                           20604206                           //DM segment exception 0     DM段异常0
#define SCI_ERR_2DCODE_DM_SEGMENT_EXCEPTION_1                           20604207                           //DM segment exception 1     DM段异常1
#define SCI_ERR_2DCODE_DM_SEGMENT_EXCEPTION_2                           20604208                           //DM segment exception 2     DM段异常2
#define SCI_ERR_2DCODE_DM_DECODE_EXCEPTION_0                            20604209                           //DM decode exception 0      DM解码异常0
#define SCI_ERR_2DCODE_DM_DECODE_EXCEPTION_1                            20604210                           //DM decode exception 1      DM解码异常1
#define SCI_ERR_2DCODE_DM_DECODE_EXCEPTION_2                            20604211                           //DM decode exception 2      DM解码异常2
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_0                        20604300                           //PDF417 detect exception 0  PDF417定位异常0
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_1                        20604301                           //PDF417 detect exception 1  PDF417定位异常1
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_2                        20604302                           //PDF417 detect exception 2  PDF417定位异常2
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_3                        20604303                           //PDF417 detect exception 3  PDF417定位异常3
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_4                        20604304                           //PDF417 detect exception 4  PDF417定位异常4
#define SCI_ERR_2DCODE_PDF417_DETECT_EXCEPTION_5                        20604305                           //PDF417 detect exception 5  PDF417定位异常5
#define SCI_ERR_2DCODE_PDF417_SEGMENT_EXCEPTION_0                       20604306                           //PDF417 segment exception 0 PDF417段异常0
#define SCI_ERR_2DCODE_PDF417_SEGMENT_EXCEPTION_1                       20604307                           //PDF417 segment exception 1 PDF417段异常1
#define SCI_ERR_2DCODE_PDF417_SEGMENT_EXCEPTION_2                       20604308                           //PDF417 segment exception 2 PDF417段异常2
#define SCI_ERR_2DCODE_PDF417_DECODE_EXCEPTION_0                        20604309                           //PDF417 decode exception 0  PDF417解码异常0
#define SCI_ERR_2DCODE_PDF417_DECODE_EXCEPTION_1                        20604310                           //PDF417 decode exception 1  PDF417解码异常1
#define SCI_ERR_2DCODE_PDF417_DECODE_EXCEPTION_2                        20604311                           //PDF417 decode exception 2  PDF417解码异常2


//SciVeriCode
#define SCI_ERR_2DCODE_VERICODE_DECODE                                 20605001                          //Failed decode vericode code 解码失败
#define SCI_ERR_2DCODE_VERICODE_LICENSE                                20605002                          //NO VeriCode License 未检测到加密狗
#define SCI_ERR_2DCODE_VERICODE_TIMEOUT                                20605003                           //TimeOut Interrupt  超时中断
#define SCI_ERR_2DCODE_VERICODE_DETECT_CRASH                           20605004                           //VeriCode detect crash 粗定位定位部分崩溃
#define SCI_ERR_2DCODE_VERICODE_DECODE_CRASH                           20605005                           //VeriCode decode crash 解码部分崩溃
#define SCI_ERR_2DCODE_VERICODE_MEMORY                                 20605005                           //VeriCode out of memory 内存不足



//SciMLPClassifier
#define SCI_ERR_MLP_INPUT_NUM								20606001	         //Number of neurons in the input layer not equal to 3		输入层中的神经元数量不等于3
#define SCI_ERR_MLP_FEATURES_NUM							20606002	         //Number of input features is inconsistent with the model	输入特征的数量与模型不一致
#define SCI_ERR_MLP_CLASSES_NUM								20606003	         //Number of input classes is inconsistent with the model	输入类的数量与模型不一致
#define SCI_ERR_MLP_IMAGE_SAMPLE_CHS						20606004	         //Image sample is not a three-channel image				图像采样不是3通道图像
#define SCI_ERR_MLP_DETECTED_IMAGE_CHS						20606005	         //Image to be detected is not a three-channel image		图像不是3通道图像
#define SCI_ERR_MLP_SAMPLE_LEN								20606006	         //Number of samples and classes are not equal				采样数量和类别不相等
#define SCI_ERR_MLP_OUT_OF_SAMPLE_RANGE						20606007	         //Index is out of the sample range of this class			索引超出了此类的样本范围	
#define SCI_ERR_MLP_LAYER_SIZE								20606008	         //Too few neurons											神经元数量太少
#define SCI_ERR_MLP_MODEL_FILE								20606009	         //Not a MLP model file or a correct MLP model file			不是MLP模型文件或正确的MLP模型文件
#define SCI_ERR_MLP_DUPLICATE_NAME							20606010             //Duplicate name											名称重复
#define SCI_ERR_MLP_NO_MODEL_LOAD							20606011             //No model loaded or created								未加载或未创建模板
#define SCI_ERR_MLP_LOAD_OR_INIT							20606012             //Model not loaded or not initialized						未加载或未初始化模板
#define SCI_ERR_MLP_NO_SAMPLE								20606013             //No sample												没有样本												
#define SCI_ERR_MLP_CANT_TRAIN								20606014             //Dont meet training conditions							不符合训练条件
#define SCI_ERR_MLP_NO_INIT							    	20606015	         //Model not initialized									模板未初始化
#define SCI_ERR_MLP_PARAM_OUT_OF_RANGE						20606016	         //Parameter out of range									参数超出范围
#define SCI_ERR_MLP_NO_TRAIN								20606017             //No train													无训练
#define SCI_ERR_MLP_MODEL_FILE_PATH                         20606018             //Wrong file path											文件路径错误
#define SCI_ERR_MLP_CLASS_NOT_EXIST                         20606019             //The class does not exist									此类不存在
#define SCI_ERR_MLP_FEATURE_WITH_SIGN                       20606020             //Feature name with special sign							特征名字包含特殊字符
#define SCI_ERR_MLP_CLASS_WITH_SIGN                         20606021             //Class name with special sign								类名包含特殊字符
#define SCI_ERR_MLP_MODE_ERROR                              20606022             //Mode error												模式错误
#define SCI_ERR_MLP_CATCH_LOAD_MODEL                        20606023             //Load model catch abnormal								加载模型异常
#define SCI_ERR_MLP_CATCH_SAVE_MODEL                        20606024             //Save model catch abnormal								保存模型异常
#define SCI_ERR_MLP_CATCH_TRAIN_MODEL                       20606025             //Training model catch abnormal							训练模型异常
#define SCI_ERR_MLP_CATCH_CLASSIFY                          20606026             //Classify catch abnormal									分类异常
#define SCI_ERR_MLP_CATCH_IMAGE_CLASSIFY                    20606027             //Image classify catch abnormal							图像分类异常

//SciSVMClassifier
#define SCI_ERR_SVM_WRONG_PATH								20607001	         //Wrong path									错误的路径
#define SCI_ERR_SVM_WRONG_MODEL_FILE						20607002	         //Wrong model file								错误的模型文件
#define SCI_ERR_SVM_NO_CREATED								20607003	         //Model have not been created					未创建模板
#define SCI_ERR_SVM_WRONG_NU                                20607004             //The value range of nu is wrong               nu取值错误（nu取值范围为(0,1)）
#define SCI_ERR_SVM_WRONG_PARAMS   							20607005	         //The parameters gamma and degree cannot be less than 0	gamma和degree参数不能小于0
#define SCI_ERR_SVM_DUPLICATE_NAME   						20607006	         //Duplicate name								重复的名称
#define SCI_ERR_SVM_NO_TRAIN								20607007	         //No train										未训练
#define SCI_ERR_SVM_WRONG_FEA_NUM							20607008	         //Wrong features number						错误的特征编号
#define SCI_ERR_SVM_NO_SAMPLE								20607009	         //No sample									无样本
#define SCI_ERR_SVM_NO_INIT									20607010	         //Not initialized								未初始化
#define SCI_ERR_SVM_INX_OUT_OF_RANGE						20607011	         //Index out of range							索引超出范围
#define SCI_ERR_SVM_CLASS_NOT_EXIST							20607012	         //Class not exist								类不存在
#define SCI_ERR_SVM_NO_LOAD_OR_INIT							20607013	         //Not loaded or initialized					未加载或未初始化
#define SCI_ERR_SVM_TRAINED									20607014	         //Have been trained							已训练
#define SCI_ERR_SVM_CANT_AUTO_TRAIN							20607015	         //ONE_CLASS can not be trained by TrainAuto	ONE_CLASS不能通过TrainAuto训练
#define SCI_ERR_SVM_KFOLD_OUT_OF_RANGE						20607016	         //K-Fold out of range							Fold超出范围
#define SCI_ERR_SVM_LOADED_OR_CREATED						20607017	         //Model has already been loaded or created		模型已加载或已创建
#define SCI_ERR_SVM_VAL_SAMPLES_OR_KFOLD					20607018	         //Some classes of samples are too small or the kFold is too large	某些类的样本太大或kFold太大
#define SCI_ERR_SVM_NO_LOADED_OR_TRAIN						20607019	         //Not trained or loaded						未训练或未加载
#define SCI_ERR_SVM_WRONG_VALTYPE							20607020	         //Name just support StringVal and WStringVal	名称仅支持StringVal和WStringVal
#define SCI_ERR_SVM_WRONG_NORAM								20607021	         //Wrong normalization							标准化错误
#define SCI_ERR_SVM_WRONG_NAME								20607022	         //Wrong feature or class name					错误的功能或类型
#define SCI_ERR_SVM_PARAM_OUT_OF_RANGE						20607023	         //param out of range							参数超出范围
#define SCI_ERR_SVM_JUST_POSITIVE_SAMPLE					20607024	         //oneclass just have positive class train samples	只有正类训练样本 
#define SCI_ERR_SVM_FEATURE_WITH_SIGN                       20607025             //Feature name with special sign				特征名字包含特殊字符
#define SCI_ERR_SVM_CLASS_WITH_SIGN                         20607026             //Class name with special sign					类名包含特殊字符
#define SCI_ERR_SVM_CATCH_LOAD_MODEL                        20607027             //Load model catch abnormal					加载模型异常
#define SCI_ERR_SVM_CATCH_SAVE_MODEL                        20607028             //Save model catch abnormal					保存模型异常
#define SCI_ERR_SVM_CATCH_AUTO_TRAIN_MODEL                  20607029             //Auto training model catch abnormal			自动训练模型异常
#define SCI_ERR_SVM_CATCH_TRAIN_MODEL                       20607030             //Training model catch abnormal				训练模型异常
#define SCI_ERR_SVM_CATCH_CLASSIFY                          20607031             //Classify catch abnormal						分类异常

//SciClassifierTool
#define SCI_ERR_CLFTOOL_WRONG_SVM_TYPE                          20608001			 //Wrong SVM type .									错误的SVM类型
#define SCI_ERR_CLFTOOL_WRONG_NU                                20608002			 //The value range of nu is (0,1).					nu取值范围为(0,1)
#define SCI_ERR_CLFTOOL_WRONG_KERNEL_TYPE                       20608003			 //Wrong kernel type .								错误的kernel类型
#define SCI_ERR_CLFTOOL_WRONG_NORAM                             20608004			 //Wrong normalization.								未初始化
#define SCI_ERR_CLFTOOL_EMPTY_REGION                            20608005			 //Region is empty.									Region为空
#define SCI_ERR_CLFTOOL_EMPTY_ARRAY                             20608006			 //Array is empty.									数组为空
#define SCI_ERR_CLFTOOL_PARAM_OUT_OF_RANGE                      20608007			 //Param out of range.								参数超出范围
#define SCI_ERR_CLFTOOL_INX_OUT_OF_RANGE                        20608008			 //Index out of range.								索引超出范围
#define SCI_ERR_CLFTOOL_MLP_WRONG_NUMBER_OF_HIDDEN              20608009			 //The number of hidden layer is wrong.				隐藏层数量错误
#define SCI_ERR_CLFTOOL_WRONG_FEATURE_TYPE                      20608010			 //Wrong feature type，feature type(0~52).			错误的特征类型，特征类型（0~52
#define SCI_ERR_CLFTOOL_NO_CLASS                                20608011			 //No class added.									未添加类
#define SCI_ERR_CLFTOOL_WRONG_SAMPLE_DATA                       20608012			 //Both the image and the region cannot be empty.	图像和region不能为空
#define SCI_ERR_CLFTOOL_INITIALIZE_PATH_EXIST                   20608013			 //Initialize model path is exist.					初始化模型路径已存在
#define SCI_ERR_CLFTOOL_WRONG_INITIALIZE_PATH                   20608014			 //Wrong initialize model path.						错误的初始化模型路径
#define SCI_ERR_CLFTOOL_NO_INITIALIZATION_MODEL                 20608015			 //No initialization model.							无初始化模型
#define SCI_ERR_CLFTOOL_NOT_NEW_MODEL                           20608016			 //Non-new model, the model is loaded model.		非新模型，该模型为加载模型
#define SCI_ERR_CLFTOOL_UNTRAINED_MODEL                         20608017			 //Untrained model.									未经训练的模型
#define SCI_ERR_CLFTOOL_WRONG_SAVE_PATH                         20608018			 //Wrong save model path.							错误的保存模型路径
#define SCI_ERR_CLFTOOL_WRONG_LOAD_MODEL_PATH                   20608019			 //Wrong load model path.							错误的加载模型路径
#define SCI_ERR_CLFTOOL_WRONG_FILE_SUFFIX                       20608020			 //Wrong file suffix.								错误的文件后缀
#define SCI_ERR_CLFTOOL_NO_SETTING_TRAIN_FEATURE                20608021			 //No training feature is set.						未设置训练特征
#define SCI_ERR_CLFTOOL_CLASS_NOT_EXIST                         20608022			 //Class not exist									类不存在
#define SCI_ERR_CLFTOOL_FEATURE_TYPE_DUPLICATE              	20608023			 //Feature type duplicate							特征类型重复
#define SCI_ERR_CLFTOOL_MODEL_UNLOADED_OR_UNTRAINED         	20608024			 //Model not loaded or not trained					模型未加载或未训练
#define SCI_ERR_CLFTOOL_WRONG_INPUT_ARRAY_LENGTH            	20608025			 //The length of the input array is incorrect, label/image/region array length should be equal		输入数组的长度不正确，标签/图像/region数组长度应相等
#define SCI_ERR_CLFTOOL_CATCH_SELECT_FEATURE                    20608026             //Select feature catch abnormal					选择特征异常
#define SCI_ERR_CLFTOOL_CATCH_SET_TRAIN_FEATURES                20608027             //Set train features catch abnormal				设置特征异常
#define SCI_ERR_CLFTOOL_CATCH_TRAIN_MODEL                       20608028             //Train model catch abnormal						训练模型异常
#define SCI_ERR_CLFTOOL_CATCH_LOAD_TRAINED_MODEL                20608029             //Load trained model catch abnormal				加载已训练模型异常
#define SCI_ERR_CLFTOOL_CATCH_SAVE_MODEL                        20608030             //Save trained model catch abnormal				保存已训练模型异常
#define SCI_ERR_CLFTOOL_CATCH_CLASSIFY                          20608031             //Classify catch abnormal							执行分类异常
#define SCI_ERR_CLFTOOL_CATCH_EVALUATE_MODEL                    20608032             //Evaluate model catch abnormal					评估模型异常


//深度学习码识别
#define SCI_ERR_DLCODEDECODER_NO_MODEL_LOAD                     20609001     //Failed to load model				加载模型失败
#define SCI_ERR_DLCODEDECODER_AUTO_DMCODE                       20609002     //Failed to autodecode DMCODE		DM码自动识别失败
#define SCI_ERR_DLCODEDECODER_AUTO_BARCODE                      20609003     //Failed to autodecode BARCODE		一维码自动识别失败
#define SCI_ERR_DLCODEDECODER_AUTO_QRCODE                       20609004     //Failed to autodecode QRCODE		QR码自动识别失败
#define SCI_ERR_DLCODEDECODER_NONE_CODE                         20609005     //Failed to find any codes			未检测到码
#define SCI_ERR_DLCODEDECODER_ERRDLRUN                          20609006     //Deep learning fails to run		深度学习无法运行
#define SCI_ERR_DLCODEDECODER_DMPARA_DSAMPLE                    20609007     //DMcode downsample error			DM码下采样错误
#define SCI_ERR_DLCODEDECODER_DMPARA_MIRROR                     20609008     //DMcode mirror error				DM码镜像错误
#define SCI_ERR_DLCODEDECODER_DMPARA_SHAPE                      20609009     //DMcode shape error				DM码形状错误
#define SCI_ERR_DLCODEDECODER_DMPARA_POLARITY                   20609010     //DMcode polarity error			DM码极性错误
#define SCI_ERR_DLCODEDECODER_QRPARA_DSAMPLE                    20609011     //QRcode downsample error			QR码下采样错误
#define SCI_ERR_DLCODEDECODER_QRPARA_MIRROR                     20609012     //QRcode mirror error				QR码镜像错误
#define SCI_ERR_DLCODEDECODER_QRPARA_MODEL                      20609013     //QRcode model error				QR码模式错误
#define SCI_ERR_DLCODEDECODER_QRPARA_VERSION                    20609014     //QRcode version error				QR码版本错误
#define SCI_ERR_DLCODEDECODER_QRPARA_POLARITY                   20609015     //QRcode polarity error			QR码极性错误
#define SCI_ERR_DLCODEDECODER_BARPARA_THRESH                    20609016     //BARcode thresh error				一维码阈值错误
#define SCI_ERR_DLCODEDECODER_BARPARA_DSAMPLE                   20609017     //BARcode downsample error			一维码下采样错误
#define SCI_ERR_DLCODEDECODER_BARPARA_POLARITY                  20609018     //BARcode polarity error			一维码极性错误
#define SCI_ERR_DLCODEDECODER_PARA_CODENUMBER                   20609019     //Param codenumber error			码个数参数值错误
#define SCI_ERR_DLCODEDECODER_PARA_TIMEOUT                      20609020     //Param timeout error				超时参数值错误
#define SCI_ERR_DLCODEDECODER_PARA_CODETYPE                     20609021     //Param codetype error				码类型参数值错误
#define SCI_ERR_DLCODEDECODER_OUTTIME                           20609022     //OUT TIME 超时中断
#define SCI_ERR_DLCODEDECODER_DLL_LOAD                          20609023     //Failed to load SCIDNNCOREDLL			加载SCIDNNCOREDLL文件失败

//SciKNNClassifier
#define SCI_ERR_KNN_WRONG_PATH								20610001	         //Wrong path								错误的路径
#define SCI_ERR_KNN_WRONG_MODEL_FILE						20610002	         //Wrong model file							错误的模板文件
#define SCI_ERR_KNN_NO_CREATED								20610003	         //Model have not been created				未创建模板
#define SCI_ERR_KNN_WRONG_NORAM_PARAM_LENGTH                20610004             //Wrong noramalize param length			noramalize参数长度错误
#define SCI_ERR_KNN_WRONG_PARAMS   							20610005	         //The parameters cannot be less than 0		参数不能小于0
#define SCI_ERR_KNN_DUPLICATE_NAME   						20610006	         //Duplicate name							名称重复
#define SCI_ERR_KNN_NO_TRAIN								20610007	         //No train									未训练
#define SCI_ERR_KNN_WRONG_FEA_NUM							20610008	         //Wrong features number					特征编号错误
#define SCI_ERR_KNN_NO_SAMPLE								20610009	         //No sample								未采样
#define SCI_ERR_KNN_NO_INIT									20610010	         //Not initialized							未初始化
#define SCI_ERR_KNN_INX_OUT_OF_RANGE						20610011	         //Index out of range						索引超出范围
#define SCI_ERR_KNN_CLASS_NOT_EXIST							20610012	         //Class not exist							类不存在
#define SCI_ERR_KNN_NO_LOAD_OR_INIT							20610013	         //Not loaded or initialized				未加载或未初始化
#define SCI_ERR_KNN_TRAINED									20610014	         //Have been trained						已训练
#define SCI_ERR_KNN_K_OUT_OF_RANGE                          20610015             //K value out of range						K值超出范围
#define SCI_ERR_KNN_OUTPUT_METHOD_OUT_OF_RANGE              20610016             //Output method out of range				输出方法超出范围
#define SCI_ERR_KNN_LOADED_OR_CREATED						20610017	         //Model has already been loaded or created	模板已加载或已创建
#define SCI_ERR_KNN_TREE_TYPE_OUT_OF_RANGE                  20610018			 //Tree type out of range					树类型超出范围
#define SCI_ERR_KNN_NO_LOADED_OR_TRAIN						20610019	         //Not trained or loaded					未训练或未加载
#define SCI_ERR_KNN_WRONG_VALTYPE							20610020	         //Name just support StringVal and WStringVal	名称仅支持StringVal和WStringVal
#define SCI_ERR_KNN_WRONG_NORAM								20610021	         //Wrong normalization						标准化错误
#define SCI_ERR_KNN_WRONG_NAME								20610022	         //Wrong feature or class name				特征名或类名错误
#define SCI_ERR_KNN_PARAM_OUT_OF_RANGE						20610023	         //param out of range						参数超出范围
#define SCI_ERR_KNN_WRONG_SAMPLE_DATA                       20610024             //Wrong sample data						采样数据错误
#define SCI_ERR_KNN_FEATURE_WITH_SIGN                       20610025             //Feature name with special sign			特征名包含特殊字符
#define SCI_ERR_KNN_CLASS_WITH_SIGN                         20610026             //Class name with special sign				类名包含特殊字符
#define SCI_ERR_KNN_CATCH_LOAD_MODEL						20610027             //Load model catch abnormal				加载模型异常
#define SCI_ERR_KNN_CATCH_SAVE_MODEL						20610028             //Save model catch abnormal				保存模型异常
#define SCI_ERR_KNN_CATCH_TRAIN_MODEL						20610029             //Train model catch abnormal				训练模型异常
#define SCI_ERR_KNN_CATCH_CLASSIFY							20610030             //Classify catch abnormal					模型分类异常


//3D算法
//Sci3DKdTree
#define SCI_ERR_KDTREE_EMPTY_KDTREE                         30002001				 //KdTree is empty. KdTree为空
#define SCI_ERR_KDTREE_NO_CORRE_POINT                       30002002				 //No corresponding point found in kdtree. 在kdtree中找不到对应的点
#define SCI_ERR_KDTREE_NO_ENOUGH_BUFFER                     30002003				 //No enough buffer to store points.  没有足够的缓冲区来存储点
#define SCI_ERR_KDTREE_NO_SUPPORT_ROI                       30002004				 //No support some kinds of roi, for example, oblique Box.  不支持某些roi类型，例如斜的BOX
#define SCI_ERR_KDTREE_3DROI_BOUNDS                         30002005                 //ROI out of region. ROI在区域外
#define SCI_ERR_KDTREE_OUT_OF_MEMORY                        30002100                 //out of memory. 内存不足
#define SCI_ERR_POINTCLOUDS_TOO_LARGE                       30002101   				 //pointclouds to large. 点云过大
#define SCI_ERR_POINTCLOUDS_IS_CHANGED                      30002102                 //source poinClouds Data is released or is changed. 点云资源数据被释放或被更改


//SciBinocularCalibration
#define  SCI_ERR_BINOCALIB_FALSE                            30101001              //binocular Calibration false			双目标定失败 
#define  SCI_ERR_BINOCALIB_IMAGEARRAY                       30101002              //Size of image Array is different    左右相机输入图像个数不一致
#define  SCI_ERR_BINOCALIB_IMAGESIZE                        30101003			  //image size error					输入图像大小错误 
#define  SCI_ERR_BINOCALIB_CATCH_Board_FAILED               30101004              //corner extraction catch abnormal	提取标定板角点失败
#define  SCI_ERR_BINOCALIB_CATCH_monocular_FAILD            30101005              //monocular Calibrate catch abnormal  单目校准捕捉异常
#define  SCI_ERR_BINOCALIB_CATCH_stereo_FAILD               30101006              //stereo stereo Calibrate  faild		立体标定失败


//SciFocus3D
#define  SCI_ERR_FOCUS3D_FALSE								30102001			  //False   错误
#define  SCI_ERR_FOCUS3D_QUANTITY_SHORTAGE	       			30102002         	  //The quantity of image is shortage	图像数量不足


//SciLaserTriangle3D
#define  SCI_ERR_3DLASER_NO_LASER  		           			30103001            //Can not find Laser		找不到激光线
#define  SCI_ERR_3DLASER_NO_IMAGEFILE			   			30103002            //Not enough images			图像不足
#define  SCI_ERR_3DLASER_NO_DEEP_IMAGE	           			30103003			//Generate depth image failed	生成深度图失败
#define  SCI_ERR_3DLASER_CAMERA_ERROR	           			30103004            //Camera Error				相机错误
#define  SCI_ERR_3DLASER_LINK_ERROR	               			30103005            //Link Error				链接错误


//SciPhotometricStreo
#define SCI_ERR_PHOTOMETRIC_GRAD                                                           30105001									//The input gradient image is error.	输入错误梯度图
#define SCI_ERR_PHOTOMETRIC_IMGARR_AND_IMGNAMEARR										   30105002                                 //The length of the input image array does not match the length of the input image name array!		输入图像数组的长度与输入图像名称数组的长度不匹配！
#define SCI_ERR_PHOTOMETRIC_LIGHT                                                          30105003                                 //The input light matrix is error.		输入光矩阵错误
#define SCI_ERR_PHOTOMETRIC_FILE                                                           30105004                                 //The calibration file is error.		标定文件错误
#define SCI_ERR_PHOTOMETRIC_CATCH_CONVERT_IMAGE_FAILED									   30105005                                 //Convert image catch abnormal.			图像转换异常
#define SCI_ERR_PHOTOMETRIC_CATCH_SVD_FAILED										       30105006                                 //SVD catch abnormal.					SVD异常
#define SCI_ERR_PHOTOMETRIC_CATCH_CAL_UPS_NORMAL_FAILED                                    30105007                                 //Calculate uncalibrated photometric stereo normal catch abnormal.   计算未校准的光度立体法向量捕捉异常
#define SCI_ERR_PHOTOMETRIC_CATCH_CAL_PS_NORMAL_FAILED                                     30105008                                 //Calculate photometric stereo normal catch abnormal.                计算光度立体法向量捕捉异常
#define SCI_ERR_PHOTOMETRIC_CATCH_GAUSSIAN_FAILED										   30105009                                 //GaussianBlur catch abnormal.			GaussianBlur异常
#define SCI_ERR_PHOTOMETRIC_CATCH_SOBEL_FAILED											   30105010                                 //Sobel catch abnormal.					Sobel异常
#define SCI_ERR_PHOTOMETRIC_CATCH_CAL_CURVATURE_FAILED									   30105011                                 //Calculate curvature catch abnormal.	计算曲率异常
#define SCI_ERR_PHOTOMETRIC_CATCH_CAL_DEPTH_FAILED										   30105012                                 //Calculate depth catch abnormal.		计算深度异常
#define SCI_ERR_PHOTOMETRIC_EXCEPTION1                                                     30105101                                 //PhotometricStreo exception1.			异常1
#define SCI_ERR_PHOTOMETRIC_EXCEPTION2                                                     30105102                                 //PhotometricStreo exception2.			异常2
#define SCI_ERR_PHOTOMETRIC_EXCEPTION3													   30105103                                 //PhotometricStreo exception3.			异常3
#define SCI_ERR_PHOTOMETRIC_EXCEPTION4													   30105104                                 //PhotometricStreo exception4.			异常4
#define SCI_ERR_PHOTOMETRIC_EXCEPTION5                                                     30105105                                 //PhotometricStreo exception5.			异常5
#define SCI_ERR_PHOTOMETRIC_EXCEPTION6                                                     30105106                                 //PhotometricStreo exception6.			异常6
#define SCI_ERR_PHOTOMETRIC_EXCEPTION7                                                     30105107                                 //PhotometricStreo exception7.			异常7
#define SCI_ERR_PHOTOMETRIC_EXCEPTION8                                                     30105108                                 //PhotometricStreo exception8.			异常8
#define SCI_ERR_PHOTOMETRIC_EXCEPTION9                                                     30105109                                 //PhotometricStreo exception9.			异常9
#define SCI_ERR_PHOTOMETRIC_EXCEPTION10                                                    30105110                                 //PhotometricStreo exception10.			异常10
#define SCI_ERR_PHOTOMETRIC_EXCEPTION11                                                    30105111                                 //PhotometricStreo exception11.			异常11
#define SCI_ERR_PHOTOMETRIC_EXCEPTION12                                                    30105112                                 //PhotometricStreo exception12.			异常12



//SciLightCalibration
#define SCI_LIGHT_CALIBRATION_FILE_OPEN_FAILED                                30106001                                 //The .lcal file open failed        //.lcal文件打开失败
#define SCI_LIGHT_CALIBRATION_FILE_NOT_READ                                   30106002                                 //The .lcal file can not read       //.lcal读取失败
#define SCI_LIGHT_CALIBRATION_FILE_SAVE_FAILED                                30106003                                 //The .lcal file save failed        //.lcal保存失败
#define SCI_LIGHT_CALIBRATION_RESULT_FILE_SAVE_FAILED						  30106004								   //fail to save results              //光源标定结果保持失败
#define SCI_LIGHT_CALIBRATION_CIRCLE_CENTER_NOT_FOUND						  30106005                                 //The project does not have a circle center positioning    //缺少圆心定位
#define SCI_LIGHT_CALIBRATION_HIGHLIGHT_CENTER_NOT_FOUND					  30106006                                 //The project does not have a highlight center positioning  //突出显示中心定位失败
#define SCI_LIGHT_CALIBRATION_FAILED                                          30106007								   //The light calibration failed        //光源标定失败
#define SCI_LIGHT_CALIBRATION_EXCEPTION1                                      30106101                                 //light calibration exception1        //光源标定异常1
#define SCI_LIGHT_CALIBRATION_EXCEPTION2                                      30106102                                 //light calibration exception2        //光源标定异常2
#define SCI_LIGHT_CALIBRATION_EXCEPTION3                                      30106103                                 //light calibration exception3        //光源标定异常3


//Sci3DDataOperation
#define SCI_ERR_3DDATAOPERATIN_NORMALIZATION_FAILED                              30201001                          //Normalization failed, maybe all data is equal			标准化失败，可能所有数据都相等
#define SCI_ERR_3DDATAOPERATIN_CATCH_CREATEUNIFORM_FAILED                        30201002                          //Create uniform 3D shape pointCloud catch abnormal		创建统一的点云异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_CREATERANDOM_FAILED                         30201003                          //Create random 3D shape pointCloud catch abnormal		创建随机的点云异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_APPLYGAUSSNOISE_FAILED                      30201004                          //Apply gaussian noise catch abnormal					使用高斯噪声异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_APPLYNORMALGAUSSNOISE_FAILED                30201005                          //Apply normal gaussian noise catch abnormal				使用正常的高斯噪声溢出
#define SCI_ERR_3DDATAOPERATIN_CATCH_ADDRANDOMNOISE_FAILED                       30201006                          //Add random noise catch abnormal						添加随机噪声异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_NORMALIZATION_FAILED                        30201007                          //Normalization catch abnormal							归一化异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_VALUEADJUST_FAILED                          30201008                          //Value adjustment catch abnormal						调整图像值异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_FILLHOLS_FAILED                             30201009                          //Fill hols catch abnormal								填充ROI区域异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_COMPUTENORMAL_FAILED                        30201010                          //Compute normals catch abnormal							计算点云法向异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_ADDBORDER_FAILED                            30201011                          //Add border catch abnormal								图像增加边界
#define SCI_ERR_3DDATAOPERATIN_CATCH_CREATECONST_FAILED                          30201012						   //fail to create the range image with constant values	构造常数深度图失败
#define SCI_ERR_3DDATAOPERATIN_CATCH_GRADIENTX_FAILED                            30201013                          //Calculate gradientX catch abnormal						计算X方向梯度图捕获异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_GRADIENTY_FAILED                            30201014                          //Calculate gradientY catch abnormal						计算Y方向梯度图捕获异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_MAGNITUDE_FAILED                            30201015                          //Calculate magnitude catch abnormal						计算幅值图捕获异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_ANGLE_FAILED                                30201016                          //Calculate angle catch abnormal							计算角度图异常
#define SCI_ERR_3DDATAOPERATIN_CATCH_CURVATURE_FAILED                            30201017
#define SCI_ERR_3DDATAOPERATIN__NOVALIDNORMALES                                  30201018							//No invalid normals                          无有效法向量

//Sci3DThreshold
#define SCI_ERR_THRESHOLD_INVALIDVALUE_HANDLING                30202001 //InvalidValue Handling fail                   无效值处理异常
#define SCI_ERR_THRESHOLD_FILTING_FILL_FAIL                    30202002  //IMAGE FILTING fail                          图像滤波处理异常
#define SCI_ERR_THRESHOLD_ADAPTIVE_RECT_HANDLING_FAIL          30202003  //AdaptiveThreshold RECT  handle fail         自适应局部二值化在矩形中处理异常
#define SCI_ERR_THRESHOLD_ROITOPIXEL_ARRAY_FAIL                30202004  //ROIToPixelArray FAIL                        获取ROI对应点数组错误
#define SCI_ERR_THRESHOLD_ADAPTIVE_UNRECT_HANDLING_FAIL        30202005  //AdaptiveThreshold UNRECT  handle fail       自适应局部二值化在非矩形中处理异常
#define SCI_ERR_THRESHOLD_DNY_RECT_HANDLING_FAIL               30202006  //DynThreshold RECT  handle fail              动态阈值二值化在矩形中处理异常
#define SCI_ERR_THRESHOLD_DNY_UNRECT_HANDLING_FAIL             30202007 //DynThreshold UNRECT  handle fail  Threshold  动态阈值二值化在非矩形中处理异常
#define SCI_ERR_THRESHOLD_RECT_HANDLING_FAIL                   30202008  //Threshold RECT  handle fail                 二值化在矩形中处理异常
#define SCI_ERR_THRESHOLD_UNRECT_HANDLING_FAIL                 30202009 //Threshold UNRECT  handle fail                二值化在非矩形中处理异常
#define SCI_ERR_THRESHOLD_AUTO_MAXMIN_HANDLING_FAIL            30202010  //AutoThreshold MAXMIN  handle fail           自动二值化最大值处理异常
#define SCI_ERR_THRESHOLD_AUTO_OSTU_HANDLING_FAIL              30202011  //AutoThreshold OSTU  handle fail             OSTU自动二值化最大值处理异常
#define SCI_ERR_THRESHOLD_AUTO_RECT_HANDLING_FAIL              30202012  //AutoThreshold RECT  handle fail             自动二值化矩形处理中出现错异常
#define SCI_ERR_THRESHOLD_AUTO_UNRECT_HANDLING_FAIL            30202013 //AutoThreshold UNRECT  handle fail            自动二值化非矩形处理中出现异常


//Sci3DFilter
#define  SCI_ERR_POINTCLOUD_GAUSSIAN_FAILD                  30205001                       //PointCloud Gaussian filtering failed              //点云高斯滤波处理失败
#define  SCI_ERR_POINTCLOUD_BILATERAL_FAILD                 30205002                       //PointCloud Bilateral filtering failed             //点云双边滤波处理失败
#define  SCI_ERR_PROCESS_INVALIDPOINTS_FAILD                30205003                       //Failed to process invalid value points            //无效值点数处理失败
#define  SCI_ERR_RANGEIMAGE_GAUSSIAN_FILTER_FAILD           30205004                       //RangeImage Gaussian filtering failed              //深度图高斯滤波处理失败
#define  SCI_ERR_RANGEIMAGE_BILATERAL_FILTER_FAILD          30205005                       //RangeImage Bilateral filtering failed             //深度图双边滤波处理失败
#define  SCI_ERR_RANGEIMAGE_MEDIAN_FILTER_FAILD             30205006                       //RangeImage Median filtering failed                //深度图中值滤波处理失败
#define  SCI_ERR_RANGEIMAGE_MEAN_FILTER_FAILD               30205007                       //RangeImage Mean filtering failed                  //深度图均值滤波处理失败


//Sci3DSampling
#define SCI_ERR_SAMPLING_NO_RESULT                          30206001         //no result point						无结果点
#define SCI_ERR_SAMPLIMG_SETSIZE_EXCEPTION                  30206002         //Exception error in setting size		设置大小时出现异常错误
#define SCI_ERR_SAMPLING_EMPTY_FEATURE_POINTS               30206003         //Feature points is empty				特征点为空

//Sci3DClean
#define  SCI_ERR_3DCLEAN_3DSHAPE_FALSE                      30207001             //3DSHAPE Input Error,3DSHAPE输入类型不支持
#define  SCI_ERR_3DCLEAN_FEATURE_TYPE_FALSE                 30207002             //Feature Type Error,Sci3D_CleanFeatureType输入类型不支持
#define SCI_ERR_3DCLEAN_SIZE_KSIZESIZE						30207003			 // the ksizeSize is too big  邻域核设置过大，超过图像的宽或高
#define SCI_ERR_3DCLEAN_3DROI_BOUNDS                        30207004             // 3DROI out of bounds  3DROI越界

//SciRangeImageCropping
#define SCI_ERR_CROP_FAILED									30210001                        //This exception is returned after cropping failure  裁剪失败返回此异常
#define SCI_ERR_RANGEIMAGE_RESOLUTION_DIFF                  30210002                        //Depth image resolution is inconsistent   深度图像XY分辨率不一致

//Sci3DMorphology
#define SCI_ERR_Morphology_ROIImageExtraction_FAIL          30212001                        //ROIImageExtraction fail    //提取图像失败
#define SCI_ERR_Morphology_ROIImageRestore_FAIL             30212002                        //ROIImageRestore fail       //复原图像失败
#define SCI_ERR_Morphology_erode_FAIL                       30212003                        //erode fail                 //腐蚀处理失败
#define SCI_ERR_Morphology_Dilate_FAIL                      30212004                        //Dilate fail                //膨胀处理失败
#define SCI_ERR_Morphology_Open_FAIL                        30212005                        //Open fail                  //开运算处理失败
#define SCI_ERR_Morphology_Close_FAIL                       30212006                        //Close fail                 //闭运算处理失败
#define SCI_ERR_Morphology_Gradient_FAIL                    30212007                        //Gradient fail              //梯度运算处理失败
#define SCI_ERR_Morphology_TopHat_FAIL                      30212008                        //TopHat fail                //顶帽运算处理失败
#define SCI_ERR_Morphology_BlackHat_FAIL                    30212009                        //BlackHat fail              //黑帽运算处理失败


//Sci3DShadingCorrection
#define SCI_ERR_3DSHADINGCOR_GET_RECT_INFO                              30213001                 //Failed to obtain the largest enclosing rectangle of ROI.							无法获取ROI的最大外接矩形
#define SCI_ERR_3DSHADINGCOR_PRE_HANDLING                               30213002                 //Pre-handling catch abnormal.														预处理捕获异常
#define SCI_ERR_3DSHADINGCOR_SHADING_RECT_HANDLING                      30213003                 //3D shading correction in rect ROI catch abnormal.								矩形ROI中进行3D阴影校正捕获异常
#define SCI_ERR_3DSHADINGCOR_SEARCH_MEDIAN_RECT_HANDLING                30213004                 //Failed to search median value in rect ROI.										无法在矩形ROI中搜索中值
#define SCI_ERR_3DSHADINGCOR_SEARCH_MEAN_RECT_HANDLING                  30213005                 //Failed to search mean value in rect ROI.											无法在矩形ROI中搜索均值
#define SCI_ERR_3DSHADINGCOR_CORRECTION_RECT_HANDLING                   30213006                 //3D median correction or 3D mean correction in rect ROI catch abnormal.			矩形ROI中进行3D中值校正或3D均值校正捕获异常
#define SCI_ERR_3DSHADINGCOR_ROITOPIXEL_ARRAY_FAIL                      30213007                 //Failed to convert ROI to pixelArray.												无法将ROI区域像素转换为像素数组
#define SCI_ERR_3DSHADINGCOR_SHADING_UNRECT_HANDLING                    30213008                 //3D shading correction in unrect ROI catch abnormal.								无法在非矩形ROI中进行3D阴影校正
#define SCI_ERR_3DSHADINGCOR_SEARCH_MEDIAN_UNRECT_HANDLING              30213009                 //Failed to search median value in unrect ROI.                                     无法在非矩形ROI中搜索中值
#define SCI_ERR_3DSHADINGCOR_SEARCH_MEAN_UNRECT_HANDLING                30213010                 //Failed to search mean value in unrect ROI.                                       无法在非矩形ROI中搜索均值
#define SCI_ERR_3DSHADINGCOR_CORRECTION_UNRECT_HANDLING                 30213011                 //3D median correction or 3D mean correction in unrect ROI catch abnormal.			非矩形ROI中进行3D中值校正或3D均值校正捕获异常

//SCI3DImageMathematics
#define SCI_ERR_ONE_IMAGE_MATH_FAILED									30214001		//The single image operation failed due to an exception		单图像运算失败抛出此异常
#define SCI_ERR_TWO_IMAGE_MATH_FAILED									30214002		//The double image operation failed due to an exception		双图像运算失败抛出此异常
#define SCI_ERR_IMAGE_MAXMIN_FAILED										30214003		//The image max-min operation failed to throw this exception		图像最大最小运算失败抛出此异常
#define SCI_ERR_3DIMAGEMATHEMATICS_SIZE_RANGEIMAGE						30214004		//Input image is too large  输入图像过大

//3DMirror
#define SCI_ERR_3DMIRROR_EXCEPTION_FLIP                  	            30215100		//Exception error in the process of flip	翻转过程中出现异常错误

//SciRangeImageRotate
#define SCI_ERR_ROTATE_IS_FAILED                                        30216001        //Throw this exception when the rotation operation failed  旋转操作失败抛出此异常
#define SCI_ERR_INTERPOLATION											30216002		//插值操作失败抛出此异常   Interpolation failure

//Sci3DStitch 
#define  SCI_ERR_3DSTITCH_DIFF_RANGEIMAGE_DATATYPE                      30218001        //The type of rangeimages is different.表示输入的多张图像数据类型不一致
#define  SCI_ERR_3DSTITCH_DIFF_RANGEIMAGE_RESOL							30218002        //The resolution of rangeimages is different.表示输入的多张图像分辨率不一致
#define  SCI_ERR_3DSTITCH_DIFF_RANGEIMAGE_OFFSET						30218003        //The offset of rangeimages is difference.表示输入的多张图像偏移量不一致
#define  SCI_ERR_3DSTITCH_EXCEPTION_ADDBORDER							30218100        //Exception error in the process of addborder.添加边框过程中出现异常错误

//SciRangeImageVolumn
#define SCI_ERR_EXCEPTION_GETIMAGE      								30303100        //Error in get RangeImage		获取深度图失败

//高度测量
#define SCI_ERR_3DHEIGHT_EXCEPTION_GETPOINTS							30304100        //Exception in get pointArray		获取点数组异常		
#define SCI_ERR_3DHEIGHT_EXCEPTION_ERASEDATA							30304101        //Exception in erasing points that not in range			清除不在范围内的点异常
#define SCI_ERR_3DHEIGHT_EXCEPTION_CALCULATE							30304102        //Exception in the value calculation	值计算异常

//Sci3DGeometryMeasure
#define SCI_ERR_3DGEOMEASURE_GET_DISTANCE_BETWEEN_ELEMENTS_FAILED     30305001          //failed to get the distance between elements		无法获取元素之间的距离
#define SCI_ERR_3DGEOMEASURE_COMPLETE_PROJECTION_FAILED               30305002          //failed to complete the projection					无法完成投影
#define SCI_ERR_3DGEOMEASURE_FITPLANE_FAILED                          30305003          //failed to complete the fitting plane				无法拟合平面
#define SCI_ERR_3DGEOMEASURE_FITCIRCLE_FAILED                         30305004          //failed to complete the fitting circle				无法拟合圆
#define SCI_ERR_3DGEOMEASURE_FITCYLINDER_FAILED                       30305005          //failed to complete the fitting cylinder			无法拟合圆柱
#define SCI_ERR_3DGEOMEASURE_FITLINE_FAILED                           30305006          //failed to complete the fitting line				无法拟合直线
#define SCI_ERR_3DGEOMEASURE_FITLINESEGMENT_FAILED                    30305007          //failed to complete the fitting lineSegment		无法拟合线段
#define SCI_ERR_3DGEOMEASURE_FITSPHERE_FAILED                         30305008          //failed to complete the fitting Sphere				无法拟合球面
#define SCI_ERR_3DGEOMEASURE_GET_INTERSECTION_BETWEEN_ELEMENTS_FAILED 30305009          //failed to get Intersection between elements		无法获取元素之间交集
#define SCI_ERR_3DGEOMEASURE_RANSACBESTLINE_FAILED                    30305010          //failed to fit line with Random sampling consensus method		随机抽取方法拟合直线失败
#define SCI_ERR_3DGEOMEASURE_RANSACBESTPLANE_FAILED                   30305011          //failed to fit plane with Random sampling consensus method		随机抽取方法拟合面失败
#define SCI_ERR_3DGEOMEASURE_RANSACBESTCIRCLE_FAILED                  30305012          //failed to fit circle with Random sampling consensus method	随机抽取方法拟合圆失败
#define SCI_ERR_3DGEOMEASURE_RANSACBESTSPHERE_FAILED                  30305013          //failed to fit sphere with Random sampling consensus method	随机抽取方法拟合球面失败
#define SCI_ERR_3DGEOMEASURE_FINDEXTREMEVALUE_FAILED                  30305014          //failed to get Intersection between elements		随机抽取方法拟合直线失败
#define SCI_ERR_3DGEOMEASURE_ANGLE_BETWEEN_ELEMENTS_FAILED            30305015          //failed to complete the angle between elements		获取直线夹角失败
#define SCI_3D_ERR_TWO_SHAPE_OVERLAP                                  30305016          //Two elements overlap		两形状重合
#define SCI_3D_ERR_NOT_PARALLEL                                       30305017 			//The two shapes don't have parallel configurations		两个形状不平行
#define SCI_ERR_3DGEOMEASURE_FITSURFACE_FAILED                        30305018          //failed to complete the fitting surface				无法拟合曲面


//Sci3DSurfaceMeasurement
#define SCI_ERR_3DSURFACEVOLUMNE_RESULTINDEX                             30307001               //Error in setting the value of resultIndex.  设置resultIndex值时出错。
#define SCI_ERR_3DSURFACEVOLUMNE_RESULTINDEXLENTH                        30307002               //The lenth of resultIndexArray is bigger than the maximum Size. resultIndexArray的长度大于最大大小
#define SCI_ERR_3DSURFACEHEIGHT_EXCEPTION_GETPOINTS                      30307100               //EXCEPTION Error in get pointArray. 获取点数组时的异常
#define SCI_ERR_3DSURFACEHEIGHT_EXCEPTION_ERASEDATA                      30307101               //EXCEPTION Error in erase points that not in range. 擦除点不在范围内的异常
#define SCI_ERR_3DSURFACEHEIGHT_EXCEPTION_CALCULATE                      30307102               //EXCEPTION Error in calculate averagevalue,etc. 计算平均值，方差或是中位值时的异常
#define SCI_ERR_3DSURFACEVOLUMNE_EXCEPTION_INVALIDPLANECALCULATE         30307103               //EXCEPTION Error in calculation in the situation of invalid plane. 无效基准面下的计算异常
#define SCI_ERR_3DSURFACEVOLUMNE_EXCEPTION_BASEPLANECALCULATE            30307104               //EXCEPTION Error in calculation in the situation of valid base plane. 有效基准面下的计算异常
#define SCI_ERR_3DSURFACEVOLUMNE_EXCEPTION_SURFACEAREACALCULATE          30307105               //EXCEPTION Error in calculation of surfaceArea. 表面积计算异常
#define SCI_ERR_3DSURFACEVOLUMNE_EXCEPTION_CORRECTION                    30307106               //EXCEPTION Error in correction. 校正异常

//SciProfileMeasure
#define SCI_ERR_PROFILEMEASURE_CONTOUR										30308001        //wrong contour                        输入轮廓错误 
#define SCI_ERR_PROFILEMEASURE_INTERPOLATION_FAILED							30308002        //failed to interpolate contours                轮廓插值失败
#define SCI_ERR_PROFILEMEASURE_POINTGRADIENT_BOUND							30308003        //the gradient of point out of bound                输入轮廓点梯度超过阈值
#define SCI_ERR_PROFILEMEASURE_NONCONTINUOUS_POINTS							30308004		//points is noncontinuous  输入轮廓点非连续有效
#define SCI_ERR_PROFILEMEASURE_FITTING_FAILED								30308005        //failed to fitting                         轮廓拟合失败

//SciHistogram
#define SCI_ERR_HISTOGRAM_LOW_UP_THRESHOLD    30309001    //直方图高阈值小于等于低阈值    The histogram high threshold is not greater than the low threshold
#define SCI_ERR_HISTOGRAM_TYPE                30309002    //直方图计算方法选择错误        Histogram calculation method selection is incorrect
#define SCI_ERR_HISTOGRAM_MAXIMUM_AVERAGE     30309003    //计算最值和均值时出现异常错误   An exception error occurred while calculating the maximum and mean values
#define SCI_ERR_HISTOGRAM_VARIANCE            30309004    //计算方差时出现异常错误        An exception error occurred while calculating the variance
#define SCI_ERR_HISTOGRAM                     30309005    //计算直方图时出现异常错误      An exception error occurred while calculating the histogram
#define SCI_ERR_HISTOGRAM_NO_POINT            30309006    //所设参数下没有满足要求的点    No point is satisfied under the set parameter
#define SCI_ERR_HISTOGRAM_EMPTY_INPUTARRAY    30309007    //输入数组为空                 The input array is empty
#define SCI_ERR_HISTOGRAM_EMPTY_STARTARRAY    30309008    //起点数组为空                 The start array is empty
#define SCI_ERR_HISTOGRAM_EMPTY_WIDTHARRAY    30309009    //宽度数组为空                 The width array is empty
#define SCI_ERR_HISTOGRAM_ARRAYLENGTH         30309010    //宽度数组长度不等于起点数组长度 The width array length is not equal to the start array length


//Sci3DContourExtraction
#define SCI_ERR_3DCONTOUREXTRACTION_INVALIDVALUE_HANDLING			30401001		//Failed to replace invalid value .		无法替换无效值
#define SCI_ERR_3DCONTOUREXTRACTION_CANNY_HANDLING					30401002		//Failed to execute Canny detect.		无法执行Canny检测
#define SCI_ERR_3DCONTOUREXTRACTION_SOBEL_HANDING					30401003		//Failed to execute Sobel detect.		无法执行Sobel检测
#define SCI_ERR_3DCONTOUREXTRACTION_SCHARR_HANDING					30401004 		//Failed to execute Scharr detect.		无法执行Scharr检测
#define SCI_ERR_3DCONTOUREXTRACTION_TRACKCONTOURS_HANDING			30401005		//Track contours catch abnormal.		轮廓跟踪异常
#define SCI_ERR_3DCONTOUREXTRACTION_CONTOURSFILTER_HANDING			30401006		//Failed to filter contours.			无法过滤轮廓
#define SCI_3DCONTOUREXTRACTION_FILLHOLE_FAILED                     30401007        //Failed to fill the invalid value holes.         无法填充无效值孔洞
#define SCI_3DCONTOUREXTRACTION_RANGEIMAGETYPECONVERT_FAILED        30401008        //Failed to convert the datatype of rangeimage.   无法转换深度图类型
#define SCI_3DCONTOUREXTRACTION_RANGEIMAGETOIMAGE_FAILED            30401009        //Failed to convert rangeimage to image.          无法将深度图转为普通二维图像
#define SCI_3DCONTOUREXTRACT_EXTRACTCONTOURS_FAILED                 30401010        //Failed to extract contours in image.            无法从图像中提取轮廓

//Sci3DSurfaceBasedDetection
#define SCI_ERR_3DSURFACEDETECTION_CATCH_FITSURFACE_FAILED                        30403001                                //Fit surface catch abnormal			曲面拟合异常
#define SCI_ERR_3DSURFACEDETECTION_CATCH_GENSURFACE_FAILED                        30403002                                //Generate surface catch abnormal		生成曲面异常
#define SCI_ERR_3DSURFACEDETECTION_CATCH_DIFFIMAGE_FAILED                         30403003                                //Diff image catch abnormal			差值图异常
#define SCI_ERR_3DSURFACEDETECTION_CATCH_DETECT_FAILED                            30403004                                //Detect defect catch abnormal		检测缺陷异常

//Sci3DConcentrationDetection
#define SCI_ERR_CONCENTRATION_INVALIDVALUE_HANDLING 				30404001 //InvalidValue Handling fail			无效值处理失败
#define SCI_ERR_CONCENTRATION_BORDER_FILL_HANDLING 					30404002 // BORDER  FILL fail					边界填充失败
#define SCI_ERR_CONCENTRATION_FILTING_FILL_FAIL 					30404003 // IMAGE FILTING fail					图像过滤失败
#define SCI_ERR_CONCENTRATION_DETECT_BOX_FAIL						30404004 //DETECT BOX fail ROIToPixelArray		没ROI检测BOX失败
#define SCI_ERR_CONCENTRATION_DETECT_UNBOX_FAIL						30404005 //DETECT UNBOX fail ROIToPixelArray	有ROI检测BOX失败
#define SCI_ERR_CONCENTRATION_FilterKernel_FAIL						30404006 //DETECT FilterKernel too large		滤波核太大


//Sci3DLineBasedDetection
#define SCI_ERR_LineBased_MAPPING_FAIL                                	30405001        //generate mapping Mat fail矩阵映射失败
#define SCI_ERR_LineBased_FIT_LINE                                    	30405002        //fit line fail 线拟合参数异常
#define SCI_ERR_LineBased_Hough_LINE_FIAL                             	30405003        //HoughLine fit line fail 霍夫拟合直线失败
#define SCI_ERR_LineBased_MINMAX_LINE_FAIL                            	30405004        //MINMAX Line  fail 采集点最大最小值失败
#define SCI_ERR_LineBased_CREATE_FIT_LINE_RECT_FAIL                 	30405005        //RECT roi fit Line fail 矩形ROI下拟合失败
#define SCI_ERR_LineBased_CREATE_FIT_LINE_LINE_FAIL                 	30405006       //line roi fit Line fail 线ROI拟合失败
#define SCI_ERR_LineBased_CREATE_FIT_LINE_TORRUS_FAIL                 	30405007       //torrus roi fit Line fail圆环ROI拟合失败


//Sci3DSurfaceCorrection
#define SCI_ERR_3DSURFACECORRECTION_NOT_ENOUGH_POINTS                                     30408001									 //Not enough points to fit surface     //没有足够的点进行拟合
#define SCI_ERR_3DSURFACECORRECTION_EMPTY_FITIMAGE                                        30408002									 //The fitImage is empty                //输入的拟合图像为空
#define SCI_ERR_3DSURFACECORRECTION_EMPTY_ROIIMAGE                                        30408003									 //The roiImage is empty                //ROIImageRestore拟合图像为空
#define SCI_ERR_3DSURFACECORRECTION_CATCH_FITSURFACE_FAILED                               30408004                                   //Fit surface catch abnormal           //拟合失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_GENSURFACE_FAILED                               30408005                                   //Generate surface catch abnormal      //生成表面失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_RUNTOPOINTS_FAILED                              30408006                                   //Run to points catch abnormal         //提取点异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_GETFITIMAGE_FAILED                              30408007                                   //Get fitImage catch abnormal          //获取拟合图失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_GETDIFFIMAGE_FAILED                             30408008                                   //Get diffImage catch abnormal         //获取差值图失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_GETCONTOURS_FAILED                              30408009                                   //Get contours catch abnormal          //获取轮廓失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_RESTORE_FAILED                                  30408010                                   //Restore image catch abnormal         //图像复原失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_PLANECORRECTION_FAILED                          30408011                                   //Plane correction catch abnormal      //平面校正失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_FILLHOLE_FAILED                                 30408012                                   //Fillhole catch abnormal              //无效值填充失败捕捉异常
#define SCI_ERR_3DSURFACECORRECTION_CATCH_DOPFIT_FAILED                                   30408013                                   //Dopfit catch abnormal                //正交拟合失败捕捉异常

//Sci3DBlobAnalysis
#define SCI_ERR_3DBLOB_CATCH_THRESHOLD_FAILED			30410001	//Threshold catch abnormal.  二值化捕获异常
#define SCI_ERR_3DBLOB_CATCH_FINDMASKCONTOUR_FAILED     30410002	//Find mask contours catch abnormal. 找mask轮廓捕获异常
#define SCI_ERR_3DBLOB_CATCH_INCONTOUR_FAILED			30410003	//In contours catch abnormal. 判断区域是否在轮廓上出现异常
#define SCI_ERR_3DBLOB_CATCH_CALFEATUR_FAILED			30410004	//Calculate features catch abnormal. 计算特征捕获异常
#define SCI_ERR_3DBLOB_CATCH_STOREBLOBARRAY_FAILED		30410005	//Store blobArray catch abnormal. 存储blob数组捕获异常


//Sci3DSurfaceMatch
#define SCI_3D_ERR_NO_MATCH_RESULT                          30501001                //The current parameter cannot be matched successfully                                           当前参数无法匹配成功
#define SCI_3D_ERR_NO_FEATUREPOINTS                         30501002                //Error in no featurepoints                                                                      没获取到特征点
#define SCI_3D_ERR_INVALID_MASK                             30501003                //The maskROI type is invalid                                                                    maskROI类型错误
#define SCI_3D_ERR_DIFF_RESOLUTION                          30501004                //The resolution of the template is different with the srcImg                                    模板的分辨率与源图不一样
#define SCI_3D_ERR_NOMATCHEDPOINTS                          30501005                //No matched Points                                                                              没有匹配点
#define SCI_3D_ERR_INVALIDPATH                              30501006                //Invalid path in the operation of save                                                          保存模板的路径无效
#define SCI_3D_ERR_MODELTYPE                                30501007                //Error matchtype of model                                                                       模板的错误匹配类型
#define SCI_3D_ERR_EMPTY_MODEL                              30501008                //Error of empty model                                                                           模型为空
#define SCI_3D_ERR_NOVALID_MODELTYPE                        30501009                //No valid model type                                                                            无有效模板文件类型
#define SCI_3D_ERR_NOENOUGH_SAMPLEDPOINTS                   30501010                //No enough valid points for sampling															 没有足够的采样点
#define SCI_3D_ERR_EXCEPTION_FEATUREPOINTS                  30501100                //Exception error in getting featurepoints														 获取特征点时出现异常错误
#define SCI_3D_ERR_EXCEPTION_GETMODELINFO                   30501101                //Exception error in getting information from the model                                          从模板获取信息时出现异常错误
#define SCI_3D_ERR_EXCEPTION_MATCH                          30501102                //Exception error in the matching process                                                        匹配过程中出现异常错误


//SciPointsMatching
#define SCI_ERR_ICP_NOMATCHPOINTS                           30504001               //No enough points to match		ICP计算时，未计算出对应的匹配点
#define SCI_ERR_EMPTY_POINTARRAY                            30504002               //Empty pointarray		输入点数组为空
#define SCI_ERR_ARRAYLENTH                                  30504003               //too short lenth of pointarray, not enough to calcute matrix		输入点数组长度过短，不足以计算变换矩阵
#define SCI_ERR_SVD_ARRAYLENTH                              30504004               //The lenth of two arrays are no same		SVD求解时，两数组长度不一致
#define SCI_ERR_AFFINEMATRIX_INVALID_SIZE                   30504005               //Invalid size of affinematrix			仿射变换矩阵大小有误
#define SCI_ERR_SVD_EXCEPTIONERROR							30504006               //Exception error in SVD solve    求变换矩阵时，矩阵不可逆导致求解异常

//SciPSF
#define SCI_ERR_GRAY_THRESHOLD                              30505001				//计算灰度参数失败  Gray threshold failed to be calculated
#define SCI_ERR_SCIRANGIMAGE_CONVERT                        30505002				//深度图转换失败           SciRangImage conversion failure
#define SCI_ERR_NOISE_REMOVE                                30505003				//清除噪声失败           Noise clearing failure


//Sci3DDataConvert
#define SCI_ERR_DataConvert_2DTO3DSHAPE_HANDLING						30602001 //2DTO3DSHAPE Handling fail,2D转3D形状失败
#define SCI_ERR_DataConvert_3DTO2DSHAPE_HANDLING						30602002 //3DTO2DSHAPE Handling fail,3D转2D形状失败
#define SCI_ERR_DataConvert_RANGEIMAGETOIMAGE_HANDLING_FAIL				30602003 //RANGEIMAGETOIMAGE HANDLING fail,深度图转2D图失败
#define SCI_ERR_DataConvert_RANGEIMAGETOIMAGE_LIMIT_HANDLING_FAIL		30602004 //RANGEIMAGETOIMAGE_LIMIT HANDLING fail,存在截取区间的深度图转2D图失败
#define SCI_ERR_DataConvert_RANGEIMAGETOIMAGE_AUTO_HANDLING_FAIL		30602005 //RANGEIMAGETOIMAGE_AUTO HANDLING fail,以块为单位的深度图转2D图失败
#define SCI_ERR_DataConvert_IMAGETORANGEIMAGE_HANDLING_FAIL				30602006//IMAGETORANGEIMAGE HANDLING fail,2D图转深度图失败
#define SCI_ERR_DataConvert_IMAGETORANGEIMAGE_AUTO_HANDLING_FAIL		30602007//IMAGETORANGEIMAGE_AUTO HANDLING fail,没有放缩的2D图转深度图失败
#define SCI_ERR_DataConvert_DATATYPECONVERT_HANDLING_FAIL				30602008//DATATYPECONVERT HANDLING fail,数据转换失败
#define SCI_ERR_DataConvert_RANGEIMAGETOPOINTCLOUD_HANDLING_FAIL		30602009//RANGEIMAGETOPOINTCLOUD HANDLING fail，深度图转点云失败
#define SCI_ERR_DataConvert_POINTCLOUDTORANGEIMAGE_HANDLING_FAIL		30602010//POINTCLOUDTORANGEIMAGE HANDLING fail，点云转深度图失败
#define SCI_ERR_DataConvert_RANGEIMAGETOIMAGE_CHUNK_HANDLING_FAIL		30602011//
#define SCI_ERR_DataConvert_OUT_OF_MEMORY								30602012 //Run out of memory，CPU当前可用内存不足
#define SCI_ERR_GPU_OUT_OF_MEMORY										30602013 //GPU out of memory，GPU当前可用内存不足
#define SCI_ERR_GPU_ACCESS_ILLEGAL_MEMORY								30602014 //GPU illegal memory，GPU非法内存访问
#define SCI_ERR_DIFFERENCE_MATRIXARRAYSIZE_AND_IMAGEARRAYSIZE			30602015 //imageArraySize difference matrixArraySize,输入图像个数与矩阵个数不同
#define SCI_ERR_DataConvert_WIDTH_OR_HEIGHT_ERROR						30602016 //width or height error，申请或输出图像过大，导致内存不足
#define SCI_ERR_DataConvert_HAVE_INVALID_VALUE_IN_POINTCLOUD			30602017 //have invalid value in pointcoud,点云中有无效
#define SCI_ERR_DataConvert_EMPTY_POINTCLOUD							30602018 //empy pointcloud，点云为空
#define SCI_ERR_DataConvert_INVALID_PLANE								30602019 //invalid plane 输入为无效亚面
#define SCI_ERR_DataConvert_INVALID_MATRIX								30602020  // invalid matrix  matrix数值全为0
#define SCI_ERR_DataConvert_INVALID_SAMPLESTEP							30602021  // invalid sampleStep setting, sampleStep is bigger than ImageWidth/ ImageHeight. 采样步长设置错误，大于图像宽高。
#define SCI_ERR_DataConvert_TBB_HANDLING_FAIL							30602022  //  tbb异常


//3D文件操作
#define SCI_ERR_3DFILEOPERATION_OTHER                        			30603100 // other error	其他错误
#define SCI_ERR_3DFILEOPERATION_UNSUPPORTFILETYPE            			30603101 // unsupport file type	不支持文件类型
#define SCI_ERR_3DFILEOPERATION_FILEOPENFAILED               			30603102 // open file failed	无法打开文件
#define SCI_ERR_3DFILEOPERATION_FILEFORMATABNORMAL           			30603103 // file format error	文件格式错误
#define SCI_ERR_3DFILEOPERATION_DATAABNORMAL                 			30603104 // data error	数据错误
#define SCI_ERR_3DFILEOPERATION_INCINSISTENTBYTECONVERSION  			30603105 //路径字符串由宽字节转换为窄字节后再转换回来与原字符串不一致The path string is converted from wide byte to narrow byte and then converted back to be inconsistent with the original string
#define SCI_ERR_3DFILEOPERATION_MEMORYDEVELOPMENTFAILD                	30603106 //动态内存开辟失败 Dynamic memory development failed
#define SCI_ERR_3DFILEOPERATION_PARAMETERSONLYHAVENOSUPPTYPE 			30603107 //传入的参数或文件中没有支持读写的类型 There is no type that supports reading and writing in the input parameter or file
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADASCII                         30603201 //ASCII格式读取时发生异常 An exception occurred during ASCII format reading
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEASCII                         30603202 //ASCII格式保存时发生异常 An exception occurred when saving in ASCII format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADPOINTCLOUDOBJ                	30603203 //点云obj格式读取时发生异常 An exception occurred when reading the point cloud obj format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEPOINTCLOUDOBJ                	30603204 //点云obj格式保存时发生异常 An exception occurred when saving point cloud in obj format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADPOINTCLOUDPLY                	30603205 //点云ply格式读取时发生异常 An exception occurred when reading the point cloud ply format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEPOINTCLOUDPLY                	30603206 //点云ply格式保存时发生异常 An exception occurred when saving point cloud in ply format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADPCD                        	30603207 //pcd格式读取时发生异常 An exception occurred when reading the pcd format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEPCD                        	30603208 //pcd格式保存时发生异常 An exception occurred when saving in pcd format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADSPT                        	30603209 //spt格式读取时发生异常 An exception occurred when reading the spt format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVESPT                        	30603210 //spt格式保存时发生异常 An exception occurred when saving in spt format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADCSV                        	30603211 //csv格式读取时发生异常 An exception occurred when reading the csv format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVECSV                        	30603212 //csv格式保存时发生异常 An exception occurred when saving in csv format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADECD                        	30603213 //ecd格式读取时发生异常 An exception occurred when reading the ecd format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEECD                        	30603214 //ecd格式保存时发生异常 An exception occurred when saving in ecd format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADSRT                        	30603215 //srt格式读取时发生异常 An exception occurred when reading the srt format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVESRT                        	30603216 //srt格式保存时发生异常 An exception occurred when saving in srt format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADMRI                        	30603217 //mri格式读取时发生异常 An exception occurred when reading the mri format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEMRI                        	30603218 //mri格式保存时发生异常 An exception occurred when saving in mri format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADTRIANGLEMESHOBJ        		30603219 //三角网格obj格式读取时发生异常 An exception occurred when reading the triangular mesh obj format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVETRIANGLEMESHOBJ        		30603220 //三角网格obj格式保存时发生异常 An exception occurred when saving the triangle mesh in obj format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADOFF                        	30603221 //off格式读取时发生异常 An exception occurred when reading the off format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEOFF                        	30603222 //off格式保存时发生异常 An exception occurred when saving in off format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADTRIANGLEMESHPLY        		30603223 //三角网格ply格式读取时发生异常 An exception occurred when reading the triangular mesh ply format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVETRIANGLEMESHPLY        		30603224 //三角网格ply格式保存时发生异常 An exception occurred when saving the triangle mesh in ply format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADSTL                        	30603225 //stl格式读取时发生异常 An exception occurred when reading the stl format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVESTL                        	30603226 //stl格式保存时发生异常 An exception occurred when saving in stl format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADSTMT                        	30603227 //stmt格式读取时发生异常 An exception occurred when reading the stmt format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVESTMT                        	30603228 //stmt格式保存时发生异常 An exception occurred when saving in stmt format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADIGS                        	30603229 //igs格式读取时发生异常 An exception occurred when reading the igs format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEIGS                        	30603230 //igs格式保存时发生异常 An exception occurred when saving in igs format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADSSP                        	30603231 //ssp格式读取时发生异常 An exception occurred when reading the ssp format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVESSP                        	30603232 //ssp格式保存时发生异常 An exception occurred when saving in ssp format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADDXF                        	30603233 //dxf格式读取时发生异常 An exception occurred when reading the dxf format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEDXF                        	30603234 //dxf格式保存时发生异常 An exception occurred when saving in dxf format
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADTIF							30603235 //tif格式读取时发生异常 An exception occurred when reading in tif format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVETIF							30603236 //tif格式保存时发生异常 An exception occurred when saving in tif format
#define SCI_ERR_3DFILROPREATION_C3_TIFLOAD								30603237 //tif格式无法加载3通道的数据 //Unable to load tif for channel 3
#define SCI_ERR_3DFILROPREATION_32SC1_TIFLOAD							30603238 //tif格式无法加载32SC1的数据 //Unable to load tif for 32SC1
#define SCI_ERR_3DFILROPREATION_C4_TIFLOAD								30603239 //tif格式无法加载4通道的数据	//Unable to load tif for channel 4
#define SCI_ERR_3DFILEOPERATION_CATCH_LOADJXR                        	30603240 //jxr格式读取时发生异常 An exception occurred when saving in jxr format
#define SCI_ERR_3DFILEOPERATION_CATCH_SAVEJXR                   		30603241 //jxr格式保存时发生异常 An exception occurred when saving in jxr format
#define SCI_ERR_3DFILEOPERATION_COMPRESSIONMETHODERROR					30603242 //压缩方法错误 Compression method error
#define SCI_ERR_3DFILEOPERATION_DECOMPRESSIONFAILED                     30603243 //数据解压缩异常 Data decompression exception
#define SCI_ERR_3DFILEOPERATION_COMPRESSIONFAILED                       30603244 //数据压缩异常 Data compression exception
#define SCI_ERR_3DFILEOPERATION_IMAGESIZEIS_TOO_SMALL					30603245 //Image size is too small图片尺寸过小

//SciDataCompression
#define SCI_ERR_COMPRESSION_INFILEDATA_ERROR			30604001 //输入的文件数据类型不支持
#define SCI_ERR_COMPRESSION_COMPRESMETHOD_ABNORMAL		30604002 //压缩方法不支持

#define SCI_ERR_COMPRESSION_INDATA_ABNORMAL				30604003 //输入数据块异常
#define SCI_ERR_COMPRESSION_INDATASIZE_ABNORMAL			30604004 //输入数据块大小异常

#define SCI_ERR_COMPRESSION_TIFF_WIDTH_HEIGHT_ABNORMAL	30604100 //TIFF宽高异常
#define SCI_ERR_COMPRESSION_TIFF_BITDEPTH_ABNORMAL		30604101 //TIFF位深异常
#define SCI_ERR_COMPRESSION_TIFF_CHANNELS_ABNORMAL		30604102 //TIFF通道异常
#define SCI_ERR_COMPRESSION_TIFF_COLORTYPE_ABNORMAL		30604103 //TIFF颜色类型异常
#define SCI_ERR_COMPRESSION_TIFF_OUTDATA_ABNORMAL		30604104 //TIFF输出数据块异常
#define SCI_ERR_COMPRESSION_TIFF_TDATA_SIZE_ABNORMAL	30604105 //TIFF输出数据块大小异常
#define SCI_ERR_COMPRESSION_OPEN_BUFFERSTREAM_FAILED	30604106 //TIFF打开流缓冲失败
#define SCI_ERR_COMPRESSION_TIFF_DECODEDATA_FAILED		30604107 //TIFF解压数据失败
#define SCI_ERR_COMPRESSION_TIFF_ENCODEDATA_FAILED		30604108 //TIFF压缩数据失败
#define SCI_ERR_COMPRESSION_TIFF_OTHER_FAILED			30604109 //TIFF其他数据失败错误

#define SCI_ERR_COMPRESSION_PNG_WIDTH_HEIGHT_ABNORMAL	30604200 //PNG宽高异常
#define SCI_ERR_COMPRESSION_PNG_BITDEPTH_ABNORMAL		30604201 //PNG位深异常
#define SCI_ERR_COMPRESSION_PNG_CHANNELS_ABNORMAL		30604202 //PNG通道异常
#define SCI_ERR_COMPRESSION_PNG_COLORTYPE_ABNORMAL		30604203 //PNG颜色类型异常
#define SCI_ERR_COMPRESSION_PNG_OUTDATA_ABNORMAL		30604204 //PNG输出数据块异常
#define SCI_ERR_COMPRESSION_PNG_TDATA_SIZE_ABNORMAL		30604205 //PNG输出数据块大小异常
#define SCI_ERR_COMPRESSION_PNG_DECODEDATA_FAILED		30604206 //PNG解压数据失败
#define SCI_ERR_COMPRESSION_PNG_ENCODEDATA_FAILED		30604207 //PNG压缩数据失败

#define SCI_ERR_COMPRESSION_JPEG_WIDTH_HEIGHT_ABNORMAL	30604300 //JPEG宽高异常
#define SCI_ERR_COMPRESSION_JPEG_BITDEPTH_ABNORMAL		30604301 //JPEG位深异常
#define SCI_ERR_COMPRESSION_JPEG_CHANNELS_ABNORMAL		30604302 //JPEG通道异常
#define SCI_ERR_COMPRESSION_JPEG_COLORTYPE_ABNORMAL		30604303 //JPEG颜色类型异常
#define SCI_ERR_COMPRESSION_JPEG_OUTDATA_ABNORMAL		30604304 //JPEG输出数据块异常
#define SCI_ERR_COMPRESSION_JPEG_TDATA_SIZE_ABNORMAL	30604305 //JPEG输出数据块大小异常
#define SCI_ERR_COMPRESSION_JPEG_DECODEDATA_FAILED		30604306 //JPEG解压数据失败
#define SCI_ERR_COMPRESSION_JPEG_ENCODEDATA_FAILED		30604307 //JPEG压缩数据失败


//Sci3DAxisTransform
#define SCI_ERR_AXISTRANSFORM_CATCH_FLIPAXIS_FAILED           30701001                //Abnormal coordinate flipping									坐标翻转异常
#define SCI_ERR_AXISTRANSFORM_CATCH_TRANSFORMPOINT_FAILED     30701002                //Abnormal transform the input points through the pose matrix		输入姿势矩阵翻转异常
#define SCI_ERR_AXISTRANSFORM_CATCH_TRANSFORMDIRECTION_FAILED 30701003                //Abnormal transform the input direction through the pose matrix	输入向量翻转异常
#define SCI_ERR_AXISTRANSFORM_CATCH_TRANSFORMCLOUD_FAILED     30701004                //Abnormal transform the input pointcloud through the pose matrix	输入点云翻转异常
#define SCI_ERR_AXISTRANSFORM_CATCH_TRANSFORM3DSHAPE_FAILED   30701005                //Abnormal transform the input 3DShape through the pose matrix	输入3Dshape异常
#define SCI_ERR_AXISTRANSFORM_CATCH_GENMATRIX_FAILED          30701006                //Abnormal generate Transform Matrix								生成旋转矩阵异常
#define SCI_ERR_AXISTRANSFORM_CATCH_GetROTATEANGLES_FAILED    30701007                //Abnormal to get rotateAngles from transform matrix				从旋转矩阵获取对应在各坐标轴上的旋转角异常

//Scidnncore
#define SCIDNNCORE_OK							0L									//方法正常工作
#define SCIDNNCORE_INIT_ERROR					40000001L							//模型初始化发生错误
#define SCIDNNCORE_RUN_ERROR					40000002L							//模型推理发生错误(可能显存不足)
#define SCIDNNCORE_IMAGE_ERROR					40000003L							//输入图片通道不对
#define SCIDNNCORE_INVALID_MODEL				40000004L							//模型初始化发生错误
#define SCIDNNCORE_INVALID_PATH                 40000005                            //open file error        打开模型文件失败
#define SCIDNNCORE_NOMATCH_MODEL                40000006                            //file not match        加载不匹配模型文件
#define SCIDNNCORE_LOAD_MODEL_FAILED            40000007                            //load_model failed(returned in run)        模型加载失败(在run函数中返回）
#define SCIDNNCORE_UNSUPPORT_SYSTEM             40000008                            //only support greater than window10        仅支持window10以上系统
#define SCIDNNCORE_ERROR_ROI_OR_MASK            40000009L                           //roi or mask is invalid        roi或者mask不合法
#define SCIDNNCORE_LOAD_CONFIG_ERROR            40000010L                           //yaml config is invalid        config内容不合法


//SciAlbert
#define SCI_ERR_ALBERT_INVALID_PB								40101001			//Model Loading failed		载入模型失败
#define SCI_ERR_ALBERT_RUNSESSION_FAIL							40101002			//Model run error		模型运行过程中发生错误（可能参数不对，可能为空pb文件，可能显存不足）
#define SCI_ERR_ALBERT_NOMATCH_PB								40101003			//Load unmatched PB file		载入不匹配PB文件
#define SCI_ERR_ALBERT_CREATESESSION_FIAL						40101004			//Failed to create the model session		模型创建节点失败
#define SCI_ERR_ALBERT_OPEN_MODEL_FIAL							40101005			//Open model fail		启动模型失败

#define  SCI_ERR_ALBERT_INVALID_INIT							40201001			//Init faild			初始化失败
#define  SCI_ERR_ALBERT_INVALID_CLASSINFO						40201002			//Class info invalid	无效类型信息
#define  SCI_ERR_ALBERT_INVALID_OBJECT							40201003			//No object,detect failured		无目标检测失败
#define  SCI_ERR_ALBERT_INVALID_PLATFORM						40201004            //platform not match		平台不匹配
#define  SCI_ERR_ALBERT_LACK_CLASS								40201005            //class number from *dp less than object		类型数量少于目标类型数量
#define  SCI_ERR_ALBERT_CATCH_LOAD_MODEL_FAILED         		40201006            //catch load model abnormal		加载模型异常
#define  SCI_ERR_ALBERT_CATCH_RUN_MODEL_FAILED          		40201007            //catch run model abnormal		运行模型模异常
#define  SCI_ERR_ALBERT_CATCH_FILTER_FAILED             		40201008            // catch Filter result abnormal		筛选结果异常



//DVAPI
#define DV_SUCCESS								000000000					//success										//成功
#define DV_INPARA1_INVALID						124202101					//input parameter 1 is invalid					//无效的输入参数1
#define DV_INPARA2_INVALID						124202102					//input parameter 2 is invalid					//无效的输入参数2
#define DV_INPARA3_INVALID						124202103					//input parameter 3 is invalid					//无效的输入参数3
#define DV_INPARA4_INVALID						124202104					//input parameter 4 is invalid					//无效的输入参数4
#define DV_INPARA5_INVALID						124202105					//input parameter 5 is invalid					//无效的输入参数5
#define DV_INPARA6_INVALID						124202106					//input parameter 6 is invalid					//无效的输入参数6
#define DV_INPARA7_INVALID						124202107					//input parameter 7 is invalid					//无效的输入参数7
#define DV_INPARA8_INVALID						124202108					//input parameter 8 is invalid					//无效的输入参数8
#define DV_INPARA9_INVALID						124202109					//input parameter 9 is invalid					//无效的输入参数9
#define DV_INPARA10_INVALID						124202110					//input parameter 10 is invalid					//无效的输入参数10

#define DV_CLASSINFO_NOT_LOADED					124202201					//classinfo file not loaded						//未加载类信息映射文件
#define DV_ADVRULE_NOT_LOADED					124202202					//adv rule file not loaded						//未加载高级规则文件
#define DV_FILE_DATA_ERROR						124202221					//file data error								//文件数据错误
#define DV_INTERNAL_DATA_ERROR					124202222					//internal data error							//文件数据错误
#define DV_CLASSNAME_REPETITION					124202230					//class name repetition							//存在相同类名
#define DV_COLOR_PARAM_INVALID					124202231					//color param invalid							//颜色参数无效
#define DV_LAYOUT_RULE_UN_MATCH					124202232					//layout rule unmatch							//区域规则未匹配到结果

#define DV_NOT_IN_USE							124202301					//function not in use							//函数暂未使用

#define DV_MODEL_INIT_FAILED					124202401					//model init error								//模型初始化发生错误
#define DV_MODEL_RUN_ERROR						124202402					//model run error(CUDA out of memory)			//推理发生错误（一般为显存不足导致）
#define DV_IMAGE_NOT_SUPPORTED					124202403					//image format not supported					//输入不支持的图片格式（仅支持8位16位单通道或三通道格式）
#define DV_MODEL_PATH_INVALID					124202405					//open file error								//打开模型文件失败
#define DV_MODEL_FILE_NOT_MATCH					124202406					//file not match								//加载不匹配模型文件
#define DV_MODEL_NOT_INITED						124202407					//model not inited due to load failing.			//模型加载失败(在run函数中返回）
#define DV_SYSTEM_NOT_SUPPORTED					124202408					//only support greater than window10			//仅支持window10以上系统

#define DV_ADVRULES_FILE_INVALID				124202450					//load advrulesfile file invalid				//规则文件无效 无项目类型字段
#define DV_ADVRULES_TYPE_UNMATCH				124202451					//advrulesfile type unmatch						//规则文件项目类型不一致
#define DV_ADVRULES_SCRIPT_TYPE					124202452					//advrules script type error					//规则类型不支持
#define DV_ADVRULES_CATCH_EXCEPTION1			124202453					//advrules chath exception1						//规则计算时捕获到异常1
#define DV_ADVRULES_CATCH_EXCEPTION2			124202454					//advrules chath exception2						//规则计算时捕获到异常2
#define DV_ADVRULES_LOAD_GRP_UPWARDS			124202455					//advrules group grp version new				//旧程序无法访问新数据
#define DV_ADVRULES_LOAD_GRP_BACKWARD	 		124202456					//advrules group grp version old				//新程序无法访问旧数据

#define DV_CLASSINFO_FILE_INVALID				124202500					//load classinfo file invalid					//类型文件无效 无项目类型字段
#define DV_CLASSINFO_TYPE_UNMATCH				124202501					//classinfo file type unmatch					//类型文件项目类型不一致

#define DV_INPARA_IMG_EMPTY						124202550					//image empty									//图像为空
#define DV_INPARA_IMGS_EMPTY					124202551					//image array empty								//图像数组为空
#define DV_INPARA_IMGS_HAS_EMPTY_IMG            124202552					//image array has empty	image					//图像数组中存在空图像
#define DV_INPARA_IMGS_COUNT_NQ_ROIS            124202553					//image count no eq roi count					//图像数量与roi数量不相等
#define DV_ROI_TYPE_ERROR			            124202554					//roi type error								//roi类型不支持
#endif